Skip to content

Commit

Permalink
fix(ci) let golangci handle its own go install
Browse files Browse the repository at this point in the history
See golangci/golangci-lint-action#244

golangci-lint action wants to handle its own Go installation. As there
is nothing else in this job, we can remove the Go install/module cache
to avoid file conflicts.
  • Loading branch information
rainest committed Feb 1, 2022
1 parent c3c0e7a commit abb332b
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,6 @@ jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- name: setup golang
uses: actions/setup-go@v2
with:
go-version: '^1.17'

- name: cache go modules
uses: actions/cache@v2.1.7
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-build-codegen-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-build-codegen-
- name: checkout repository
uses: actions/checkout@v2
with:
Expand Down

0 comments on commit abb332b

Please sign in to comment.