Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 13 additions & 17 deletions .github/workflows/ci-pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
# Need to grab the history of the PR
fetch-depth: 0
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: default
Expand All @@ -25,23 +22,10 @@ jobs:
run: |
rustup install 1.73.0
rustup install 1.66.1
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
with:
workspaces: |
target_chains/ethereum/sdk/stylus
target_chains/cosmwasm
target_chains/fuel/contracts
target_chains/solana
governance/remote_executor
lazer
pythnet/message_buffer
pythnet/stake_caps_parameters
- name: Install protoc
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Install g++ 12
Expand All @@ -52,6 +36,18 @@ jobs:
with:
python-version: ${{ env.PYTHON_VERSION }}
id: setup_python
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
with:
workspaces: |
target_chains/ethereum/sdk/stylus
target_chains/cosmwasm
target_chains/fuel/contracts
target_chains/solana
governance/remote_executor
lazer
pythnet/message_buffer
pythnet/stake_caps_parameters
- name: Cache Poetry cache
uses: actions/cache@v3
with:
Expand Down
Loading