Skip to content

Commit 29a897c

Browse files
[CI] configure automerge for renovate, use devbox for GHA on build+test (#1047)
* configure automerge for renovate * GHA is complaining about devbox so update the lock file * dead link found * 3 more go vulnerabilities in 1.25.7
1 parent 43d0fa2 commit 29a897c

File tree

7 files changed

+253
-233
lines changed

7 files changed

+253
-233
lines changed

.github/workflows/build_test_ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ jobs:
4848
- name: Harden Runner
4949
uses: step-security/harden-runner@v2
5050
with:
51-
disable-sudo: true
5251
egress-policy: block
5352
allowed-endpoints: >
5453
api.github.com:443
@@ -75,8 +74,14 @@ jobs:
7574
go-version-file: 'go.mod'
7675
check-latest: true
7776

77+
- name: Install devbox
78+
uses: jetify-com/devbox-install-action@v0.14.0
79+
with:
80+
enable-cache: 'true'
81+
refresh-cli: 'false'
82+
7883
- name: Test
79-
run: make test
84+
run: devbox run make test
8085

8186
- name: Upload coverage reports to Codecov
8287
uses: codecov/codecov-action@v5

.github/workflows/e2e-test.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ jobs:
8484
- name: Harden Runner
8585
uses: step-security/harden-runner@v2
8686
with:
87-
disable-sudo: true
8887
egress-policy: audit
8988
allowed-endpoints: >
9089
*:6443
@@ -132,6 +131,12 @@ jobs:
132131
with:
133132
key: docker-${{ runner.os }}-${{ hashFiles('go.sum') }}
134133

134+
- name: Install devbox
135+
uses: jetify-com/devbox-install-action@v0.14.0
136+
with:
137+
enable-cache: 'true'
138+
refresh-cli: 'false'
139+
135140
- name: Run E2E Test
136141
env:
137142
E2E_FLAGS: ${{ inputs.e2e-flags }}
@@ -143,7 +148,7 @@ jobs:
143148
LINODE_MACHINE_TYPE: g6-standard-2
144149
CLUSTERCTL_CONFIG: /home/runner/work/cluster-api-provider-linode/cluster-api-provider-linode/e2e/gha-clusterctl-config.yaml
145150
LINODE_CLIENT_TIMEOUT: 30
146-
run: make e2etest
151+
run: devbox run make e2etest
147152

148153
- name: cleanup stale clusters
149154
if: ${{ always() }}

.github/workflows/pull_request_ci.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ jobs:
5151
- name: Harden Runner
5252
uses: step-security/harden-runner@v2
5353
with:
54-
disable-sudo: true
5554
egress-policy: block
5655
allowed-endpoints: >
5756
api.github.com:443
@@ -76,8 +75,14 @@ jobs:
7675
go-version-file: 'go.mod'
7776
check-latest: true
7877

78+
- name: Install devbox
79+
uses: jetify-com/devbox-install-action@v0.14.0
80+
with:
81+
enable-cache: 'true'
82+
refresh-cli: 'false'
83+
7984
- name: Build
80-
run: make build
85+
run: devbox run make build
8186

8287
- name: Check for generated diff
8388
run: make check-gen-diff

0 commit comments

Comments
 (0)