Skip to content

Commit 4fc21b5

Browse files
committed
ok
1 parent d9508e3 commit 4fc21b5

File tree

1 file changed

+13
-17
lines changed

1 file changed

+13
-17
lines changed

.github/workflows/ci-pre-commit.yml

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ jobs:
1313
pre-commit:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v3
17-
with:
18-
# Need to grab the history of the PR
19-
fetch-depth: 0
16+
- uses: actions/checkout@v4
2017
- uses: actions-rs/toolchain@v1
2118
with:
2219
profile: default
@@ -25,23 +22,10 @@ jobs:
2522
run: |
2623
rustup install 1.73.0
2724
rustup install 1.66.1
28-
- name: Cache Rust dependencies
29-
uses: Swatinem/rust-cache@v2
30-
with:
31-
workspaces: |
32-
target_chains/ethereum/sdk/stylus
33-
target_chains/cosmwasm
34-
target_chains/fuel/contracts
35-
target_chains/solana
36-
governance/remote_executor
37-
lazer
38-
pythnet/message_buffer
39-
pythnet/stake_caps_parameters
4025
- name: Install protoc
4126
uses: arduino/setup-protoc@v3
4227
with:
4328
repo-token: ${{ secrets.GITHUB_TOKEN }}
44-
- uses: actions/checkout@v4
4529
- name: Install poetry
4630
run: pipx install poetry
4731
- name: Install g++ 12
@@ -52,6 +36,18 @@ jobs:
5236
with:
5337
python-version: ${{ env.PYTHON_VERSION }}
5438
id: setup_python
39+
- name: Cache Rust dependencies
40+
uses: Swatinem/rust-cache@v2
41+
with:
42+
workspaces: |
43+
target_chains/ethereum/sdk/stylus
44+
target_chains/cosmwasm
45+
target_chains/fuel/contracts
46+
target_chains/solana
47+
governance/remote_executor
48+
lazer
49+
pythnet/message_buffer
50+
pythnet/stake_caps_parameters
5551
- name: Cache Poetry cache
5652
uses: actions/cache@v3
5753
with:

0 commit comments

Comments
 (0)