@@ -14,7 +14,7 @@ permissions:
14
14
15
15
jobs :
16
16
keyring :
17
- runs-on : ubuntu-22 .04
17
+ runs-on : ubuntu-24 .04
18
18
steps :
19
19
- uses : actions/checkout@v4
20
20
- name : check runc.keyring
26
26
contents : read
27
27
pull-requests : read
28
28
checks : write # to allow the action to annotate code in the PR.
29
- runs-on : ubuntu-22 .04
29
+ runs-on : ubuntu-24 .04
30
30
steps :
31
31
- uses : actions/checkout@v4
32
32
with :
48
48
golangci-lint run --config .golangci-extra.yml --new-from-rev=HEAD~1
49
49
50
50
compile-buildtags :
51
- runs-on : ubuntu-22 .04
51
+ runs-on : ubuntu-24 .04
52
52
env :
53
53
# Don't ignore C warnings. Note that the output of "go env CGO_CFLAGS" by default is "-g -O2", so we keep them.
54
54
CGO_CFLAGS : -g -O2 -Werror
@@ -62,24 +62,24 @@ jobs:
62
62
run : make BUILDTAGS=""
63
63
64
64
codespell :
65
- runs-on : ubuntu-22 .04
65
+ runs-on : ubuntu-24 .04
66
66
steps :
67
67
- uses : actions/checkout@v4
68
68
- name : install deps
69
69
# Version of codespell bundled with Ubuntu is way old, so use pip.
70
- run : pip install codespell==v2.3.0
70
+ run : pip install --break-system-packages codespell==v2.3.0
71
71
- name : run codespell
72
72
run : codespell
73
73
74
74
shfmt :
75
- runs-on : ubuntu-22 .04
75
+ runs-on : ubuntu-24 .04
76
76
steps :
77
77
- uses : actions/checkout@v4
78
78
- name : shfmt
79
79
run : make shfmt
80
80
81
81
shellcheck :
82
- runs-on : ubuntu-22 .04
82
+ runs-on : ubuntu-24 .04
83
83
steps :
84
84
- uses : actions/checkout@v4
85
85
- name : install shellcheck
@@ -110,7 +110,7 @@ jobs:
110
110
- run : if git -P grep -I -n '\s$'; then echo "^^^ extra whitespace at EOL, please fix"; exit 1; fi
111
111
112
112
deps :
113
- runs-on : ubuntu-22 .04
113
+ runs-on : ubuntu-24 .04
114
114
steps :
115
115
- uses : actions/checkout@v4
116
116
- name : install go
@@ -125,7 +125,7 @@ jobs:
125
125
permissions :
126
126
contents : read
127
127
pull-requests : read
128
- runs-on : ubuntu-22 .04
128
+ runs-on : ubuntu-24 .04
129
129
# Only check commits on pull requests.
130
130
if : github.event_name == 'pull_request'
131
131
steps :
@@ -143,7 +143,7 @@ jobs:
143
143
error : ' Subject too long (max 72)'
144
144
145
145
cfmt :
146
- runs-on : ubuntu-22 .04
146
+ runs-on : ubuntu-24 .04
147
147
steps :
148
148
- name : checkout
149
149
uses : actions/checkout@v4
@@ -161,7 +161,7 @@ jobs:
161
161
162
162
release :
163
163
timeout-minutes : 30
164
- runs-on : ubuntu-22 .04
164
+ runs-on : ubuntu-24 .04
165
165
steps :
166
166
- name : checkout
167
167
uses : actions/checkout@v4
@@ -192,7 +192,7 @@ jobs:
192
192
193
193
194
194
get-images :
195
- runs-on : ubuntu-22 .04
195
+ runs-on : ubuntu-24 .04
196
196
steps :
197
197
- uses : actions/checkout@v4
198
198
with :
0 commit comments