Skip to content

Commit

Permalink
ci: fix go caching (#667)
Browse files Browse the repository at this point in the history
Move checkout before go-setup so caching works.
  • Loading branch information
stevenh authored Feb 25, 2024
1 parent e05a63b commit 4c535aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ jobs:
with:
redis-version: ${{ matrix.redis }}

- 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: Go Test
run: go test -race ./...

0 comments on commit 4c535aa

Please sign in to comment.