Desired go version can be read from go.mod (#674)

This commit is contained in:
Frederik Ring
2025-11-11 10:40:16 +01:00
committed by GitHub
parent 6307fcbec4
commit 946a5ea24b
2 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v5 - uses: actions/checkout@v5
- uses: actions/setup-go@v6 - uses: actions/setup-go@v6
with: with:
go-version: '1.25' go-version-file: 'go.mod'
- name: golangci-lint - name: golangci-lint
uses: golangci/golangci-lint-action@v8 uses: golangci/golangci-lint-action@v8
with: with:

View File

@@ -12,9 +12,9 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v4 uses: actions/setup-go@v6
with: with:
go-version: '1.25.x' go-version-file: 'go.mod'
- name: Install dependencies - name: Install dependencies
run: go mod download run: go mod download
- name: Test with the Go CLI - name: Test with the Go CLI