Skip to content

Commit

Permalink
Have safer install of golangci-lint (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkarlsen authored Aug 10, 2022
1 parent 7eb96b5 commit c732e72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.47.3
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.48.0
golangci-lint run --timeout=10m ./...
- name: Helm Lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.47.3
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.48.0
golangci-lint run --timeout=10m ./...
- name: Install kubectl
Expand Down

0 comments on commit c732e72

Please sign in to comment.