Skip to content

Commit ac622ee

Browse files
committed
Set go 1.26 and toolchain go1.26.7
1 parent 1821d57 commit ac622ee

3 files changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ permissions: {}
1111
jobs:
1212
test:
1313
runs-on: ubuntu-latest
14-
strategy:
15-
matrix:
16-
go-version: ['1.25']
17-
1814
steps:
1915
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2016
with:
@@ -23,7 +19,7 @@ jobs:
2319
- name: Set up Go
2420
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
2521
with:
26-
go-version: ${{ matrix.go-version }}
22+
go-version-file: go.mod
2723

2824
- name: Build
2925
run: go build -v ./...
@@ -41,7 +37,7 @@ jobs:
4137
- name: Set up Go
4238
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
4339
with:
44-
go-version: '1.25'
40+
go-version-file: go.mod
4541

4642
- name: golangci-lint
4743
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9

.github/workflows/update-licenses.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set up Go
2525
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
2626
with:
27-
go-version: '1.22'
27+
go-version-file: go.mod
2828

2929
- name: Download latest license database
3030
run: |

go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
module github.com/git-pkgs/spdx
22

3-
go 1.25.6
3+
go 1.26
4+
5+
toolchain go1.26.7
46

57
require github.com/github/go-spdx/v2 v2.7.0

0 commit comments

Comments
 (0)