Skip to content

Commit 4e44b80

Browse files
committed
github actions, go.mod: use Go 1.22 instead of the unsupported 1.19
1 parent 977c643 commit 4e44b80

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.github/workflows/release-master.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
vet:
1212
name: vet
1313
runs-on: ubuntu-22.04
14-
container: golang:1.19
14+
container: golang:1.22
1515
steps:
1616
- uses: actions/checkout@v4
1717
- run: make vet
1818
shell: bash
1919
test:
2020
name: go test
2121
runs-on: ubuntu-22.04
22-
container: golang:1.19
22+
container: golang:1.22
2323
steps:
2424
- uses: actions/checkout@v4
2525
- run: make test

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ jobs:
1313
vet:
1414
name: vet
1515
runs-on: ubuntu-22.04
16-
container: golang:1.19
16+
container: golang:1.22
1717
steps:
1818
- uses: actions/checkout@v4
1919
- run: make vet
2020
shell: bash
2121
test:
2222
name: go test
2323
runs-on: ubuntu-22.04
24-
container: golang:1.19
24+
container: golang:1.22
2525
steps:
2626
- uses: actions/checkout@v4
2727
- run: make test

go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ module github.com/jetstack/preflight
22

33
go 1.22.0
44

5-
toolchain go1.22.6
6-
75
require (
86
github.com/Jeffail/gabs/v2 v2.7.0
97
github.com/cenkalti/backoff v2.2.1+incompatible

0 commit comments

Comments
 (0)