Skip to content

Commit c709dc9

Browse files
committed
update dependencies and add toolchain directive
Signed-off-by: Andreas Auernhammer <[email protected]>
1 parent 41e1366 commit c709dc9

File tree

3 files changed

+27
-32
lines changed

3 files changed

+27
-32
lines changed

.github/workflows/go.yml

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,15 @@ on:
1010

1111
jobs:
1212
build:
13-
name: Build ${{ matrix.go-version }}
13+
name: Build
1414
runs-on: ubuntu-latest
15-
strategy:
16-
matrix:
17-
go-version: [1.21.9, 1.22.3]
1815
steps:
1916
- name: Set up Go ${{ matrix.go-version }}
20-
uses: actions/setup-go@v3
17+
uses: actions/setup-go@v5
2118
with:
22-
go-version: ${{ matrix.go-version }}
19+
go-version: 1.23.0
2320
- name: Check out code into the Go module directory
24-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2522
- name: Build and Lint
2623
run: |
2724
go build ./...
@@ -31,46 +28,42 @@ jobs:
3128
runs-on: ubuntu-latest
3229
steps:
3330
- name: "Set up Go"
34-
uses: actions/setup-go@v3
31+
uses: actions/setup-go@v5
3532
with:
36-
go-version: 1.22.3
33+
go-version: 1.23.0
3734
- name: Check out code
38-
uses: actions/checkout@v3
35+
uses: actions/checkout@v4
3936
- name: Lint
40-
uses: golangci/golangci-lint-action@v3
37+
uses: golangci/golangci-lint-action@v6
4138
with:
4239
version: latest
4340
args: --config ./.golangci.yml --timeout=2m
4441
test:
45-
name: Text ${{ matrix.os }} | ${{ matrix.go-version }}
42+
name: Test ${{ matrix.os }}
4643
runs-on: ${{ matrix.os }}
4744
strategy:
4845
matrix:
49-
go-version: [1.21.9, 1.22.3]
5046
os: [ubuntu-latest, windows-latest, macos-latest]
5147
steps:
5248
- name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
53-
uses: actions/setup-go@v3
49+
uses: actions/setup-go@v5
5450
with:
55-
go-version: ${{ matrix.go-version }}
51+
go-version: 1.23.0
5652
- name: Check out code into the Go module directory
57-
uses: actions/checkout@v3
53+
uses: actions/checkout@v4
5854
- name: Test on ${{ matrix.os }}
5955
run: |
6056
go test ./...
6157
vulncheck:
62-
name: Vulncheck ${{ matrix.go-version }}
58+
name: Vulncheck
6359
runs-on: ubuntu-latest
64-
strategy:
65-
matrix:
66-
go-version: [1.21.9, 1.22.3]
6760
steps:
6861
- name: Set up Go ${{ matrix.go-version }}
69-
uses: actions/setup-go@v3
62+
uses: actions/setup-go@v5
7063
with:
71-
go-version: ${{ matrix.go-version }}
64+
go-version: 1.23.0
7265
- name: Check out code into the Go module directory
73-
uses: actions/checkout@v3
66+
uses: actions/checkout@v4
7467
- name: Get govulncheck
7568
run: go install golang.org/x/vuln/cmd/govulncheck@latest
7669
shell: bash

go.mod

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ module aead.dev/minisign
22

33
go 1.21
44

5+
toolchain go1.23.5
6+
57
require (
6-
golang.org/x/crypto v0.13.0
7-
golang.org/x/term v0.12.0
8+
golang.org/x/crypto v0.32.0
9+
golang.org/x/term v0.28.0
810
)
911

10-
require golang.org/x/sys v0.12.0 // indirect
12+
require golang.org/x/sys v0.29.0 // indirect

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
golang.org/x/crypto v0.13.0 h1:mvySKfSWJ+UKUii46M40LOvyWfN0s2U+46/jDd0e6Ck=
2-
golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc=
3-
golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o=
4-
golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
5-
golang.org/x/term v0.12.0 h1:/ZfYdc3zq+q02Rv9vGqTeSItdzZTSNDmfTi0mBAuidU=
6-
golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU=
1+
golang.org/x/crypto v0.32.0 h1:euUpcYgM8WcP71gNpTqQCn6rC2t6ULUPiOzfWaXVVfc=
2+
golang.org/x/crypto v0.32.0/go.mod h1:ZnnJkOaASj8g0AjIduWNlq2NRxL0PlBrbKVyZ6V/Ugc=
3+
golang.org/x/sys v0.29.0 h1:TPYlXGxvx1MGTn2GiZDhnjPA9wZzZeGKHHmKhHYvgaU=
4+
golang.org/x/sys v0.29.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
5+
golang.org/x/term v0.28.0 h1:/Ts8HFuMR2E6IP/jlo7QVLZHggjKQbhu/7H0LJFr3Gg=
6+
golang.org/x/term v0.28.0/go.mod h1:Sw/lC2IAUZ92udQNf3WodGtn4k/XoLyZoh8v/8uiwek=

0 commit comments

Comments
 (0)