Skip to content

Commit

Permalink
fix(scripts workflow): Pull go version from src
Browse files Browse the repository at this point in the history
Selects the version of go to use from the src/go.mod file in the scripts
workflow.
  • Loading branch information
ctlong committed Jan 6, 2025
1 parent 678668b commit a28e020
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
check-latest: true
go-version-file: "src/go.mod"
- run: ./scripts/subtests/unit-test

lint:
Expand All @@ -27,6 +26,5 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
check-latest: true
go-version-file: "src/go.mod"
- run: ./scripts/subtests/lint

0 comments on commit a28e020

Please sign in to comment.