Skip to content

Commit 6657ebb

Browse files
authored
feat: bump rust and aptos versions (#98)
* sets all aptos-core Rust dependencies to `aptos-release-v1.35` branch * fixes compilation errors related to those version updates * creates new fixtures for the integration tests (re-generated report.txt files - same content of the report.txt, but different mutant order) * removes x25519-dalek patch as it's not used in the crate graph * replaces deprecated tempdir into_path() with keep()
1 parent 4108fb7 commit 6657ebb

File tree

21 files changed

+2839
-1852
lines changed

21 files changed

+2839
-1852
lines changed

.github/workflows/check-and-lint.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ env:
2525

2626
jobs:
2727
basic-lint-and-check:
28-
runs-on: self-hosted
28+
runs-on: ubuntu-latest
2929
name: Basic ci-check for fmt/clippy/check
3030
steps:
3131
- uses: actions/checkout@v4
@@ -34,16 +34,15 @@ jobs:
3434
run: sudo apt-get install libudev-dev libdw-dev lld
3535

3636
- name: Setup Rust toolchain
37-
uses: actions-rs/toolchain@v1
37+
uses: actions-rust-lang/setup-rust-toolchain@v1
3838
with:
39-
profile: default
40-
toolchain: stable
39+
components: rustfmt
4140

42-
- name: Run check
43-
run: cargo check --all-targets
44-
45-
- name: Run fmt
46-
run: cargo fmt --all -- --check
41+
- name: Rustfmt Check
42+
uses: actions-rust-lang/rustfmt@v1
4743

4844
- name: Run clippy
4945
run: cargo clippy --all-targets -- -D warnings
46+
47+
- name: Run check
48+
run: cargo check --all-targets

.github/workflows/run-tests.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ env:
2525

2626
jobs:
2727
basic-test-run:
28-
runs-on: self-hosted
28+
runs-on: ubuntu-latest
2929
name: Basic ci-check for tests
3030
steps:
3131
- uses: actions/checkout@v4
@@ -34,8 +34,10 @@ jobs:
3434
run: sudo apt-get install libudev-dev libdw-dev lld libpq-dev libssl-dev pkg-config lsof build-essential ca-certificates clang curl git --no-install-recommends --assume-yes
3535

3636
- name: Get aptos-core
37-
shell: bash
38-
run: git clone https://github.com/aptos-labs/aptos-core.git
37+
uses: actions/checkout@v4
38+
with:
39+
repository: aptos-labs/aptos-core
40+
path: aptos-core
3941

4042
- name: Install related tools and prover dependencies
4143
shell: bash
@@ -54,10 +56,7 @@ jobs:
5456
echo "/home/$USER/.dotnet/tools" | tee -a $GITHUB_PATH
5557
5658
- name: Setup Rust toolchain
57-
uses: actions-rs/toolchain@v1
58-
with:
59-
profile: default
60-
toolchain: stable
59+
uses: actions-rust-lang/setup-rust-toolchain@v1
6160

6261
- name: Install nextest
6362
uses: taiki-e/install-action@nextest

0 commit comments

Comments
 (0)