Skip to content

Commit

Permalink
Fix CI caching
Browse files Browse the repository at this point in the history
actions/setup-go needs go.sum to cache properly, so you should run
actions/checkout first
  • Loading branch information
tchajed committed Jul 17, 2024
1 parent 0c7387a commit a9c3d30
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
os: ["ubuntu-latest"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v4
with:
submodules: true
- name: Check style
run: |
gofmt -w -s .
Expand Down

0 comments on commit a9c3d30

Please sign in to comment.