Skip to content

Commit c4461ef

Browse files
authored
Chore: speed up pre-commit CI workflow (#2389)
* ok * hm * add missing workspaces * whoops
1 parent d9508e3 commit c4461ef

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

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

Lines changed: 4 additions & 5 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
@@ -29,19 +26,21 @@ jobs:
2926
uses: Swatinem/rust-cache@v2
3027
with:
3128
workspaces: |
29+
apps/fortuna
30+
apps/hermes/server
3231
target_chains/ethereum/sdk/stylus
3332
target_chains/cosmwasm
3433
target_chains/fuel/contracts
3534
target_chains/solana
3635
governance/remote_executor
3736
lazer
3837
pythnet/message_buffer
38+
pythnet/pythnet_sdk
3939
pythnet/stake_caps_parameters
4040
- name: Install protoc
4141
uses: arduino/setup-protoc@v3
4242
with:
4343
repo-token: ${{ secrets.GITHUB_TOKEN }}
44-
- uses: actions/checkout@v4
4544
- name: Install poetry
4645
run: pipx install poetry
4746
- name: Install g++ 12

0 commit comments

Comments
 (0)