Skip to content

Commit

Permalink
fix: CI toolchain (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbcaron authored Apr 26, 2024
1 parent f719c8d commit 566e7be
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/linters-cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@ jobs:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install nightly-2023-08-24 --profile minimal
- uses: Swatinem/rust-cache@v2
with:
shared-key: "cache"
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2023-08-24
components: rustfmt, clippy

- name: Setup build deps
run: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/rust-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ jobs:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install nightly-2023-08-24 --profile minimal
- uses: Swatinem/rust-cache@v2
with:
shared-key: "cache"
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2023-08-24

- name: Check the project
run: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/rust-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ jobs:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install nightly-2023-08-24 --profile minimal
- uses: Swatinem/rust-cache@v2
with:
shared-key: "cache"
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2023-08-24

- name: Run unit tests
run: |
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ git # Deoxys Changelog

## Next release

- CI: fix toolchain
- CI: add `cargo test` on PR
- refactor: remove dead code on `Struct Starknet<..>`
- feat(storage): state diff are now stored for each block
Expand Down

0 comments on commit 566e7be

Please sign in to comment.