Skip to content

Commit

Permalink
Make sure we are building/testing with latest Go patch release
Browse files Browse the repository at this point in the history
This is better for security and determinism as otherwise the action
uses whatever happens to be cached, which might be old.

Signed-off-by: Chad Wilson <chadw@thoughtworks.com>
  • Loading branch information
chadlwilson committed Apr 8, 2024
1 parent 400b0e6 commit 4556438
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
check-latest: true
go-version-file: 'go.mod'

- name: Setup java
Expand Down Expand Up @@ -140,6 +141,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
check-latest: true
go-version-file: 'go.mod'

- uses: getgauge/setup-gauge@master
Expand Down

0 comments on commit 4556438

Please sign in to comment.