Skip to content

Commit

Permalink
ci: Use the version of go specified in go.mod
Browse files Browse the repository at this point in the history
Use the setup-go cache feature.
  • Loading branch information
jaqx0r committed Jul 31, 2022
1 parent 31eae8f commit 10f0be1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '^1.x'
go-version-file: 'go.mod'
cache: true
- uses: actions/cache@v3
id: cache
with:
Expand Down

0 comments on commit 10f0be1

Please sign in to comment.