-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(github-actions): update Go setup step in codeql-analysis, mongo…
…-test, and nats-test workflows - Use actions/setup-go@v4 instead of actions/setup-go@v2 for better compatibility and features - Replace hardcoded go-version with go-version-file: go.mod for dynamic Go versioning based on the project's go.mod file - Rename 'Set up Go' to 'Setup Go' for consistency across workflows
- Loading branch information
Showing
3 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,14 +20,14 @@ jobs: | |
uses: styfle/[email protected] | ||
if: ${{ !env.ACT }} | ||
with: | ||
access_token: ${{ github.token }} | ||
access_token: ${{ github.token }} | ||
|
||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
- name: Setup Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.21.0 | ||
go-version-file: go.mod | ||
|
||
- name: Test | ||
run: make mongo-test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters