Skip to content

Commit

Permalink
feat: switch to stable compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
popzxc committed Jan 7, 2025
1 parent cb40c35 commit b94d075
Show file tree
Hide file tree
Showing 23 changed files with 1,029 additions and 2,938 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/nextest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,20 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true

# TODO: We don't actually need to run it, we just need to install it;
# it's just the quickest/simples way to do it.
# To be reimplemented properly.
- name: Run anvil-zksync
uses: dutterbutter/[email protected]
with:
mode: fork
forkUrl: mainnet
log: info
logFilePath: anvil_zksync.log
target: x86_64-unknown-linux-gnu
releaseTag: v0.2.1

- name: Setup Git config
run: |
git config --global user.name "GitHub Actions Bot"
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:

env:
CARGO_TERM_COLOR: always
TARGET_RUST_VERSION: "nightly-2024-09-05"
TARGET_RUST_VERSION: "stable"

jobs:
nextest:
Expand Down Expand Up @@ -60,18 +60,16 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
toolchain: ${{ env.TARGET_RUST_VERSION }}
toolchain: nightly-2024-09-05 # Required for unstable features in rustfmt
components: rustfmt
- run: cargo fmt --all --check
- run: cargo +nightly-2024-09-05 fmt --all --check

forge-fmt:
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
toolchain: ${{ env.TARGET_RUST_VERSION }}
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
Expand Down
Loading

0 comments on commit b94d075

Please sign in to comment.