Commit Graph

40 Commits

Author SHA1 Message Date
StepSecurity Bot
5e4a35b596 ci: [StepSecurity] Apply security best practices (#5271)
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
Signed-off-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: RB <7775707+nitrocode@users.noreply.github.com>
Co-authored-by: Rui Chen <rui@chenrui.dev>
2025-01-24 23:45:00 -05:00
renovate[bot]
a189c956cd chore(deps): update actions/setup-go digest to f111f33 in .github/workflows/test.yml (main) (#5260)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 22:24:21 -05:00
renovate[bot]
2350db9349 chore(deps): update golangci/golangci-lint-action digest to ec5d184 in .github/workflows/lint.yml (main) (#5243)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-19 19:31:05 +00:00
Rui Chen
129c5f04ee chore(deps): update alpine to 3.21.0, ca-certificates to 20241010, go/golangci-lint to latest (#5166)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-12-15 15:26:33 -05:00
renovate[bot]
8b05db492f chore(deps): update actions/setup-go digest to 3041bf5 in .github/workflows/test.yml (main) (#5154)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-12 00:28:06 +00:00
renovate[bot]
dc3892888f chore(deps): update actions/checkout digest to 11bd719 in .github/workflows/website.yml (main) (#4987)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-05 10:58:03 +00:00
renovate[bot]
32fa25d2bf chore(deps): update actions/setup-go digest to 41dfa10 in .github/workflows/test.yml (main) (#5041)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-25 00:59:38 +00:00
renovate[bot]
795cf15b88 chore(deps): update golangci/golangci-lint-action digest to 971e284 in .github/workflows/lint.yml (main) (#4986)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-07 00:29:12 +00:00
Rui Chen
37580ba79e chore: bump to use go 1.23.0 (#4843)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-08-15 11:55:48 -04:00
renovate[bot]
78abe4f003 chore(deps): update golangci/golangci-lint-action digest to aaa42aa in .github/workflows/lint.yml (main) (#4796)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-30 03:25:44 +00:00
renovate[bot]
c3b267cb6e chore(deps): update actions/setup-go digest to 0a12ed9 in .github/workflows/test.yml (main) (#4744)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 01:31:44 +00:00
Rui Chen
c45f6b34a9 feat: bump action runner from ubuntu-22.04 to ubuntu-24.04 (#4683)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-06-18 22:55:53 -04:00
Rui Chen
8dccb2beb4 chore(lint): linting the codebase (#4668)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-06-17 11:22:30 -04:00
renovate[bot]
ca113f1812 chore(deps): update reviewdog/action-golangci-lint digest to 7708105 in .github/workflows/lint.yml (main) (#4676)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-17 03:46:40 +00:00
Rui Chen
02869d3f64 Revert "chore: make job and workflow names intuitive"
This reverts commit 36d41bb9b7.
2024-06-14 23:03:16 -04:00
renovate[bot]
8ba446a03a chore(deps): update actions/checkout digest to 692973e in .github/workflows/website.yml (main) (#4658)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-13 23:51:36 -04:00
Rui Chen
36d41bb9b7 chore: make job and workflow names intuitive
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-06-12 19:40:20 -04:00
renovate[bot]
d819dbe8d4 chore(deps): update actions/checkout digest to a5ac7e5 in .github/workflows/website.yml (main) (#4591)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-23 00:12:11 +00:00
renovate[bot]
b4b6169b6d chore(deps): update actions/setup-go digest to cdcb360 in .github/workflows/test.yml (main) (#4500)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-03 00:06:41 +00:00
renovate[bot]
5b3b5d0232 chore(deps): update actions/checkout digest to 0ad4b8f in .github/workflows/website.yml (main) (#4488)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-26 00:27:45 +00:00
renovate[bot]
b934373a18 chore(deps): update actions/checkout digest to 1d96c77 in .github/workflows/website.yml (main) (#4479)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-25 02:04:58 +00:00
renovate[bot]
a357b377ff chore(deps): pin dependencies in .github/workflows/website.yml (main) (#4431)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-14 14:16:38 +00:00
renovate[bot]
e150c58561 chore(deps): update dorny/paths-filter action to v3 in .github/workflows/website.yml (#4251)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-16 03:29:53 +00:00
Rui Chen
dffae125fe feat: support go1.22 (#4217)
* feat: support go1.22

Signed-off-by: Rui Chen <rui@chenrui.dev>

* setup go toolchain for golangci-lint and tests jobs

Signed-off-by: Rui Chen <rui@chenrui.dev>

---------

Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-02-08 21:04:28 +01:00
Dylan Page
ea1dbbdabb fix: actually run GHA workflows on s/releases/release branches (#3966) 2023-11-09 14:13:01 -06:00
Dylan Page
886dd96299 refactor(ci): reduce complexity in required workflows (#3925)
* refactor(ci): builds upon work in tests to reduce complexity in requiring workflows

* fix: tweaks and missing outputs

* fix: make sure the new workflows actually run

* fix: consistency with non-required testing image
2023-11-05 21:41:32 -05:00
renovate[bot]
7cec90d7cf chore(deps): update actions/checkout action to v4 in .github/workflows/website.yml (#3738)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-05 03:40:20 +00:00
Simon Heather
9789aff2cb chore: Fix golangci-lint Configuration (#3645)
* Fix golang-ci

* Update lint workflows

* Removed required checks
2023-08-08 13:42:28 -04:00
Dylan Page
d88857bb01 fix(ci): fix workflows to run when required to avoid empty required checks (#3342)
* fix(ci): fix workflows to run when required to avoid empty required checks
2023-04-20 17:51:01 -04:00
nitrocode
617714034f fix(workflows): use ** instead of **/* in paths (#3267)
* Update test.yml

* Update test.yml

* Update test-required.yml

* Update lint-required.yml

* Update lint.yml
2023-03-26 21:11:59 -05:00
nitrocode
483b09d419 docs(readme): Add go pkg badge (#3029)
* docs(readme): Add go pkg badge
2023-01-22 23:20:17 -05:00
nitrocode
56677bda36 feat(actions): add labeler (#3020)
* feat(actions): add labeler
2023-01-22 18:44:56 -08:00
nitrocode
d4c7ccea83 Run PR checks if the PR is moved to ready_for_review type (#2713)
* Update lint.yml

* Update test.yml
2022-11-24 11:43:45 -06:00
nitrocode
ad79d0708b docs: Small updates 🦃 (#2711)
* Add missing pages

* Update server-configuration.md

* Update test.yml

* Update lint.yml

* Update test.yml

* Update lint.yml

* Update server-configuration.md

* Update server-configuration.md

* Update server-configuration.md

* Update server-configuration.md

* Update server-configuration.md

* Update server-configuration.md

* Update server-configuration.md

* Update server-configuration.md
2022-11-23 19:59:50 -06:00
Rui Chen
b3b110753f workflows: update runner to use ubuntu-22.04 (#2502)
Signed-off-by: Rui Chen <rui@chenrui.dev>

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-09-07 20:23:57 -04:00
dependabot[bot]
59929b85b4 build(deps): bump actions/checkout from 2 to 3 (#2119)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 11:18:40 -05:00
Rui Chen
317b922c8e build: add concurrency control
Refs: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-a-fallback-value

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-02-23 00:39:13 -05:00
Masayuki Morita
4b6c2f65da build(lint): use revive instead of golint (#1801)
* Use revive instead of golint

The golint was officially deprecated.
https://github.com/golang/go/issues/38968

We have been using golint via golangci-lint and golangci-lint now
recommends using revive instead of golint.
https://golangci-lint.run/usage/linters/
> golint: The repository of the linter has been archived by the owner.
> Replaced by revive.

The revive is a drop-in replacement of golint. I think switching to
revive is a reasonable choice to check the same rules for free.
https://github.com/mgechev/revive

* Fix lint errors reported by revive

The revive is almost the same as golint, but there seems to be a bit
different results.

https://app.circleci.com/pipelines/github/runatlantis/atlantis/1519/workflows/75fd7da5-1532-4ed7-ac8a-4884902818a4/jobs/8314
https://github.com/runatlantis/atlantis/runs/3565887247?check_suite_focus=true
2021-09-10 09:14:56 -07:00
dependabot[bot]
8b34c05038 build(deps): bump reviewdog/action-golangci-lint from 1 to 2 (#1717)
Bumps [reviewdog/action-golangci-lint](https://github.com/reviewdog/action-golangci-lint) from 1 to 2.
- [Release notes](https://github.com/reviewdog/action-golangci-lint/releases)
- [Commits](https://github.com/reviewdog/action-golangci-lint/compare/v1...v2)

---
updated-dependencies:
- dependency-name: reviewdog/action-golangci-lint
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-26 16:55:01 -04:00
rui
db7969bb0b workflows: add lint action (#1406)
* workflows: add lint action

Signed-off-by: Rui Chen <rui@chenrui.dev>

* add golint and errorcheck

Signed-off-by: Rui Chen <rui@chenrui.dev>

* update job name for golangci-lint

Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-06-18 15:54:02 -04:00