Skip to content

Commit 39d3fc6

Browse files
committed
edit the vibes
1 parent 969af3c commit 39d3fc6

File tree

1 file changed

+8
-32
lines changed

1 file changed

+8
-32
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
jobs:
1616
check:
1717
name: Cargo Check
18-
runs-on: ubuntu-latest
18+
runs-on: warp-ubuntu-latest-x64-32x
1919
steps:
2020
- uses: actions/checkout@v4
2121

@@ -45,20 +45,12 @@ jobs:
4545
sudo apt-get update
4646
sudo apt-get install -y libclang-dev libssl-dev pkg-config protobuf-compiler
4747
48-
- name: Inject PAT token to enable fetching private repos
49-
env:
50-
GH_TOKEN: ${{ secrets.FLASHBOTS_RBLIB_FETCHER }}
51-
run: |
52-
git config --global url."https://x-access-token:${GH_TOKEN}@github.com/flashbots/".insteadOf "https://github.com/flashbots/"
53-
5448
- name: Run cargo check
55-
env:
56-
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
57-
run: cargo check --workspace --all-targets --all-features
49+
run: make check
5850

5951
clippy:
6052
name: Clippy
61-
runs-on: ubuntu-latest
53+
runs-on: warp-ubuntu-latest-x64-32x
6254
steps:
6355
- uses: actions/checkout@v4
6456

@@ -90,20 +82,12 @@ jobs:
9082
sudo apt-get update
9183
sudo apt-get install -y libclang-dev libssl-dev pkg-config protobuf-compiler
9284
93-
- name: Inject PAT token to enable fetching private repos
94-
env:
95-
GH_TOKEN: ${{ secrets.FLASHBOTS_RBLIB_FETCHER }}
96-
run: |
97-
git config --global url."https://x-access-token:${GH_TOKEN}@github.com/flashbots/".insteadOf "https://github.com/flashbots/"
98-
9985
- name: Run clippy
100-
env:
101-
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
102-
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
86+
run: make clippy
10387

10488
fmt:
10589
name: Rustfmt
106-
runs-on: ubuntu-latest
90+
runs-on: warp-ubuntu-latest-x64-32x
10791
steps:
10892
- uses: actions/checkout@v4
10993

@@ -113,11 +97,11 @@ jobs:
11397
components: rustfmt
11498

11599
- name: Run cargo fmt
116-
run: cargo +nightly fmt --all -- --check
100+
run: make fmt-check
117101

118102
test:
119103
name: Tests
120-
runs-on: ubuntu-latest
104+
runs-on: warp-ubuntu-latest-x64-32x
121105
steps:
122106
- uses: actions/checkout@v4
123107

@@ -147,13 +131,5 @@ jobs:
147131
sudo apt-get update
148132
sudo apt-get install -y libclang-dev libssl-dev pkg-config protobuf-compiler
149133
150-
- name: Inject PAT token to enable fetching private repos
151-
env:
152-
GH_TOKEN: ${{ secrets.FLASHBOTS_RBLIB_FETCHER }}
153-
run: |
154-
git config --global url."https://x-access-token:${GH_TOKEN}@github.com/flashbots/".insteadOf "https://github.com/flashbots/"
155-
156134
- name: Run tests
157-
env:
158-
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
159-
run: cargo test --workspace --all-features
135+
run: make test

0 commit comments

Comments
 (0)