Skip to content

Commit

Permalink
chore: Hardcode golangci-lint version (#990)
Browse files Browse the repository at this point in the history
* Hardcode golangci-lint version

* Hardcode version in CI config
  • Loading branch information
p-offtermatt authored and MSalopek committed Jun 12, 2023
1 parent 1a3e41c commit a3417de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: golangci/golangci-lint-action@v3
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: latest
version: v1.52.2

# Optional: working directory, useful for monorepos
# working-directory: somedir
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ test-no-cache:
### Linting ###
###############################################################################

golangci_version=latest
golangci_version=v1.52.2

lint:
@echo "--> Running linter"
Expand Down

0 comments on commit a3417de

Please sign in to comment.