Skip to content

Commit

Permalink
move checkout action before setup-go
Browse files Browse the repository at this point in the history
This enables dependency caching to function correctly…

Signed-off-by: Joe Fitzgerald <[email protected]>
  • Loading branch information
joefitzgerald committed Dec 28, 2024
1 parent d4bec59 commit 6bf1ee0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: Build
run: go build ./...
- name: Test
Expand Down

0 comments on commit 6bf1ee0

Please sign in to comment.