Skip to content

Commit

Permalink
build(deps): Unpin staticcheck, 'latest' version is acceptable. (#549)
Browse files Browse the repository at this point in the history
* build(deps): Unpin staticcheck, 'latest' version is acceptable.

* Run tests in CI using Go 1.20 and 1.22, but lint using Go 1.22.
  • Loading branch information
kpfleming authored Oct 2, 2024
1 parent 370c794 commit e76eb54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.20.x
go-version: 1.22.x
- name: Restore cache
id: cache
uses: actions/cache@v2
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.20.x]
go-version: [1.20.x, 1.22.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ mod-download: ## Downloads the Go module.

dev-dependencies: ## Downloads the necessary dev dependencies.
@echo "==> Downloading development dependencies"
@$(GO) install honnef.co/go/tools/cmd/staticcheck@2023.1.5
@$(GO) install honnef.co/go/tools/cmd/staticcheck@latest
@$(GO) install golang.org/x/tools/cmd/goimports
@if [[ "$$(uname)" == 'Darwin' ]]; then brew install semgrep; fi
.PHONY: dev-dependencies
Expand Down

0 comments on commit e76eb54

Please sign in to comment.