Merge pull request #362 from fosrl/ci/use-go-version-file

Use Go version specified in go.mod for CI tests

Former-commit-id: c168ddac90
This commit is contained in:
Owen Schwartz
2026-05-20 20:07:16 -07:00
committed by GitHub

View File

@@ -19,7 +19,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: 1.25
go-version-file: go.mod
- name: Run Go tests
run: make test
@@ -47,7 +47,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: 1.25
go-version-file: go.mod
- name: Build targets via `make`
run: make ${{ matrix.target }}