Skip to content

Commit

Permalink
Remove Go cache step, setup-go@v5 already does that automatically (#28
Browse files Browse the repository at this point in the history
)
  • Loading branch information
bastjan authored Jun 25, 2024
1 parent fc8cc8e commit 98b9429
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 21 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,5 @@ jobs:
with:
go-version: ${{ env.GO_VERSION }}

- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run build
run: make build
7 changes: 0 additions & 7 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,5 @@ jobs:
with:
go-version: ${{ env.GO_VERSION }}

- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run linters
run: make lint
7 changes: 0 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,5 @@ jobs:
with:
go-version: ${{ env.GO_VERSION }}

- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run tests
run: make test

0 comments on commit 98b9429

Please sign in to comment.