6
6
QUAY_PATH : quay.io/brancz/kube-rbac-proxy
7
7
kind-version : v0.27.0
8
8
go-version : 1.25
9
+ runner-version : ubuntu-24.04
9
10
10
11
defaults :
11
12
run :
@@ -17,8 +18,9 @@ concurrency:
17
18
18
19
jobs :
19
20
check-license :
20
- runs-on : ubuntu-latest
21
21
name : Check license
22
+ runs-on : ${{ runner-version }}
23
+ timeout-minutes : 3
22
24
steps :
23
25
- name : Checkout repository
24
26
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
27
29
run : make check-license
28
30
29
31
generate :
30
- runs-on : ubuntu-latest
31
32
name : Generate
33
+ runs-on : ${{ runner-version }}
34
+ timeout-minutes : 5
32
35
steps :
33
36
- name : Checkout repository
34
37
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
42
45
run : make generate && git diff --exit-code
43
46
44
47
lint :
45
- runs-on : ubuntu-latest
46
48
name : Lint
49
+ runs-on : ${{ runner-version }}
50
+ timeout-minutes : 5
47
51
steps :
48
52
- name : Checkout repository
49
53
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
54
58
version : latest
55
59
56
60
build :
57
- runs-on : ubuntu-latest
58
61
name : Build
62
+ runs-on : ${{ runner-version }}
63
+ timeout-minutes : 5
59
64
steps :
60
65
- name : Checkout repository
61
66
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
69
74
run : make build
70
75
71
76
unit-tests :
72
- runs-on : ubuntu-latest
73
77
name : Unit tests
78
+ runs-on : ${{ runner-version }}
79
+ timeout-minutes : 5
74
80
steps :
75
81
- name : Checkout repository
76
82
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
84
90
run : make test-unit
85
91
86
92
e2e-tests :
87
- runs-on : ubuntu-latest
88
93
name : E2E tests
94
+ runs-on : ${{ runner-version }}
95
+ timeout-minutes : 15
89
96
steps :
90
97
- name : Checkout repository
91
98
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -117,8 +124,9 @@ jobs:
117
124
make test-e2e
118
125
119
126
publish :
120
- runs-on : ubuntu-latest
121
127
name : Publish container image to Quay
128
+ runs-on : ${{ runner-version }}
129
+ timeout-minutes : 15
122
130
if : ${{ github.event.repository.fork == false && github.event_name == 'push' }}
123
131
needs :
124
132
- check-license
0 commit comments