Skip to content

Commit

Permalink
Update Go matrix in CI for Go v1.22
Browse files Browse the repository at this point in the history
This change adds Go v1.22 to CI matrix and removes Go v1.19 and v1.20
because they will no longer receive updates. Additionally it removes the
golangci-lint versions for Go v1.19 and v1.20 in Makefile.

Signed-off-by: Austin Vazquez <macedonv@amazon.com>
  • Loading branch information
austinvazquez committed Feb 11, 2024
1 parent 365fa41 commit de5404a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs-and-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.19', '1.20', '1.21']
go: ['1.21', '1.22']

name: Documentation and Linting
steps:
Expand Down
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,6 @@ install.tools: $(TOOLS:%=.install.%)
.PHONY: .install.lint
.install.lint:
case "$$(go env GOVERSION)" in \
go1.18.*) go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.47.3;; \
go1.19.*) go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.54.1;; \
*) go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest;; \
esac

Expand Down

0 comments on commit de5404a

Please sign in to comment.