Skip to content

Commit 0bb8756

Browse files
committed
go full depot
1 parent a0a9c87 commit 0bb8756

6 files changed

Lines changed: 20 additions & 21 deletions

File tree

.github/actions/yarn-build-with-cache/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ inputs:
88
cache-provider:
99
description: 'Choose cache provider: buildjet or github'
1010
required: false
11-
default: 'buildjet'
11+
default: 'github'
1212

1313
runs:
1414
using: "composite"

.github/workflows/agent-release-artifacts.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,19 @@ jobs:
3333
matrix:
3434
include:
3535
- TARGET: x86_64-unknown-linux-gnu
36-
OS: larger-runner
36+
OS: depot-ubuntu-24.04-8
3737
- TARGET: x86_64-apple-darwin
38-
OS: macos-latest
38+
OS: depot-macos-latest
3939
- TARGET: aarch64-apple-darwin
40-
OS: macos-latest
40+
OS: depot-macos-latest
4141
- TARGET: x86_64-pc-windows-msvc
42-
OS: windows-latest
42+
OS: depot-windows-2022-4
4343
runs-on: ${{ matrix.OS }}
4444
steps:
4545
- name: checkout
4646
uses: actions/checkout@v4
4747
- name: ubuntu setup
48-
if: ${{ matrix.OS == 'larger-runner' }}
48+
if: ${{ matrix.OS == 'depot-ubuntu-24.04-8' }}
4949
run: |
5050
sudo apt-get update -qq
5151
sudo apt-get install -qq crossbuild-essential-arm64 crossbuild-essential-armhf
@@ -68,7 +68,7 @@ jobs:
6868
run: cargo build --release --target ${{ matrix.TARGET }} --bin relayer --bin scraper --bin validator
6969
working-directory: ./rust/main
7070
- name: make executable
71-
if: ${{ matrix.OS == 'larger-runner' || matrix.OS == 'macos-latest' }}
71+
if: ${{ matrix.OS == 'depot-ubuntu-24.04-8' || matrix.OS == 'depot-macos-latest' }}
7272
run: chmod ug+x,-w relayer scraper validator
7373
working-directory: rust/main/target/${{ matrix.TARGET }}/release
7474
- name: upload binaries

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
contents: write
1717
pull-requests: write
1818
name: Release
19-
runs-on: ubuntu-latest
19+
runs-on: depot-ubuntu-latest
2020
steps:
2121
- name: Checkout Repo
2222
uses: actions/checkout@v4

.github/workflows/static-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
slither:
18-
runs-on: ubuntu-latest
18+
runs-on: depot-ubuntu-24.04-small
1919

2020
steps:
2121
- uses: actions/checkout@v4
@@ -24,7 +24,7 @@ jobs:
2424
submodules: recursive
2525

2626
- name: yarn-cache
27-
uses: buildjet/cache@v4
27+
uses: actions/cache@v4
2828
with:
2929
path: |
3030
**/node_modules

.github/workflows/storage-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
diff-check:
12-
runs-on: ubuntu-latest
12+
runs-on: depot-ubuntu-24.04-small
1313

1414
steps:
1515
# Checkout the PR branch
@@ -24,7 +24,7 @@ jobs:
2424
node-version: 18
2525

2626
- name: yarn-cache
27-
uses: buildjet/cache@v4
27+
uses: actions/cache@v4
2828
with:
2929
path: |
3030
**/node_modules

.github/workflows/test.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ env:
2828

2929
jobs:
3030
yarn-install:
31-
runs-on: ubuntu-latest
31+
runs-on: depot-ubuntu-24.04-small
3232
steps:
3333
- uses: actions/setup-node@v4
3434
with:
@@ -40,7 +40,7 @@ jobs:
4040
submodules: recursive
4141

4242
- name: yarn-cache
43-
uses: buildjet/cache@v4
43+
uses: actions/cache@v4
4444
with:
4545
path: |
4646
**/node_modules
@@ -64,7 +64,7 @@ jobs:
6464
run: yarn syncpack list-mismatches
6565

6666
lint-prettier:
67-
runs-on: ubuntu-latest
67+
runs-on: depot-ubuntu-latest
6868
steps:
6969
- uses: actions/checkout@v4
7070
with:
@@ -91,7 +91,7 @@ jobs:
9191
fi
9292
9393
yarn-test:
94-
runs-on: ubuntu-latest
94+
runs-on: depot-ubuntu-latest
9595
env:
9696
GRAFANA_SERVICE_ACCOUNT_TOKEN: ${{ secrets.GRAFANA_SERVICE_ACCOUNT_TOKEN }}
9797
needs: [yarn-install]
@@ -118,7 +118,7 @@ jobs:
118118
run: yarn test:ci
119119

120120
cli-e2e-matrix:
121-
runs-on: ubuntu-latest
121+
runs-on: depot-ubuntu-latest
122122
strategy:
123123
fail-fast: false
124124
matrix:
@@ -177,7 +177,7 @@ jobs:
177177
exit 1
178178
179179
agent-configs:
180-
runs-on: ubuntu-latest
180+
runs-on: depot-ubuntu-latest
181181
strategy:
182182
fail-fast: false
183183
matrix:
@@ -314,7 +314,6 @@ jobs:
314314
uses: ./.github/actions/yarn-build-with-cache
315315
with:
316316
ref: ${{ github.event.pull_request.head.sha || github.sha }}
317-
cache-provider: github
318317

319318
- name: Install system dependencies
320319
if: steps.check-conditions.outputs.skip-e2e != 'true'
@@ -381,7 +380,7 @@ jobs:
381380
exit 1
382381
383382
env-test:
384-
runs-on: ubuntu-latest
383+
runs-on: depot-ubuntu-latest
385384
env:
386385
MAINNET3_ARBITRUM_RPC_URLS: ${{ secrets.MAINNET3_ARBITRUM_RPC_URLS }}
387386
MAINNET3_OPTIMISM_RPC_URLS: ${{ secrets.MAINNET3_OPTIMISM_RPC_URLS }}
@@ -428,7 +427,7 @@ jobs:
428427
echo "Test failed, waiting before retry..."
429428
430429
coverage:
431-
runs-on: ubuntu-latest
430+
runs-on: depot-ubuntu-latest
432431
steps:
433432
- uses: actions/checkout@v4
434433
with:

0 commit comments

Comments
 (0)