Skip to content
Merged
Show file tree
Hide file tree
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
17 changes: 10 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@master
- name: Set up Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
toolchain: 1.92.0
components: clippy,rustfmt

- name: Check code formatting
Expand All @@ -40,9 +41,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@master
- name: Set up Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
toolchain: 1.92.0
targets: aarch64-apple-ios-sim,aarch64-apple-ios,x86_64-apple-ios

- name: Build the project (iOS)
Expand All @@ -59,15 +61,16 @@ jobs:
rust:
- stable
- nightly
- 1.86 # MSRV
- 1.92.0 # MSRV

steps:
- name: Checkout code
uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@master
- name: Set up Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
toolchain: ${{ matrix.rust }}

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/initiate-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ jobs:
echo "New version will be: $NEW_VERSION"
echo "new_version=$NEW_VERSION" >> $GITHUB_OUTPUT

- uses: dtolnay/rust-toolchain@master
- name: Set up Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
toolchain: 1.92.0

- name: Install cargo-edit
run: cargo install cargo-edit
Expand Down
23 changes: 15 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,12 @@ jobs:
with:
ref: ${{ needs.pre-release-checks.outputs.commit_sha }} # to ensure all builds are consistent

- uses: dtolnay/rust-toolchain@master
- name: Set up Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
toolchain: 1.92.0
targets: aarch64-apple-ios-sim,aarch64-apple-ios,x86_64-apple-ios
components: rustfmt

- name: Build the project (iOS)
run: ./build_swift.sh
Expand Down Expand Up @@ -152,10 +154,12 @@ jobs:
with:
ref: ${{ needs.pre-release-checks.outputs.commit_sha }} # to ensure all builds are consistent

- uses: dtolnay/rust-toolchain@master
- name: Set up Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
toolchain: 1.92.0
targets: ${{ matrix.settings.target }}
components: rustfmt

- name: Install Cross
run: |
Expand Down Expand Up @@ -186,10 +190,12 @@ jobs:
with:
ref: ${{ needs.pre-release-checks.outputs.commit_sha }} # to ensure all builds are consistent

- uses: dtolnay/rust-toolchain@master
- name: Set up Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
toolchain: 1.92.0
targets: aarch64-linux-android,armv7-linux-androideabi,x86_64-linux-android,i686-linux-android
components: rustfmt

- name: Setup Java
uses: actions/setup-java@v3
Expand Down Expand Up @@ -262,9 +268,10 @@ jobs:
with:
ref: ${{ needs.pre-release-checks.outputs.commit_sha }} # to ensure all builds are consistent

- uses: dtolnay/rust-toolchain@master
- name: Set up Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
toolchain: 1.92.0

- uses: rust-lang/crates-io-auth-action@v1
id: auth
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "1.91.0"
channel = "1.92.0"
profile = "default"
components = ["rustfmt", "clippy", "rust-analyzer"]
targets = [
Expand Down