Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: switch to stable compiler #814

Merged
merged 9 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from 7 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
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
popzxc marked this conversation as resolved.
Show resolved Hide resolved
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
nbaztec marked this conversation as resolved.
Show resolved Hide resolved

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
Loading