Skip to content

Commit

Permalink
chore: switch Rust toolchain from nightly to stable
Browse files Browse the repository at this point in the history
  • Loading branch information
gvozdvmozgu committed Oct 22, 2024
1 parent 779222b commit 458313e
Show file tree
Hide file tree
Showing 6 changed files with 586 additions and 510 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
submodules: 'true'
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # ratchet:actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: stable
target: wasm32-unknown-unknown
override: true
profile: minimal
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # ratchet:actions/checkout@v4
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # ratchet:actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: stable
profile: minimal
- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # ratchet:Swatinem/rust-cache@v2
- uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # ratchet:actions-rs/cargo@v1
Expand All @@ -96,10 +96,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # ratchet:actions/checkout@v4
- name: Install nightly toolchain
- name: Install stable toolchain
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # ratchet:actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: stable
components: rustfmt, clippy
- name: Install wasm target
run: rustup target add wasm32-unknown-unknown
Expand All @@ -114,10 +114,10 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # ratchet:actions/checkout@v4
- name: Install nightly toolchain
- name: Install stable toolchain
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # ratchet:actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: stable
- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # ratchet:Swatinem/rust-cache@v2
- name: Check CI scripts
run: cargo build
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Set up Rust
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # ratchet:actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: stable
profile: minimal
if: ${{ !matrix.platform.cross }}
- name: Install cross
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
- name: Set up Rust
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # ratchet:actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: stable
profile: minimal
if: ${{ !matrix.platform.cross }}
- name: Build binary (*nix)
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
- name: Set up Rust
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # ratchet:actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: stable
profile: minimal
if: ${{ !matrix.platform.cross }}
- run: rustup target add x86_64-apple-darwin
Expand Down Expand Up @@ -214,7 +214,7 @@ jobs:
- name: Install stable toolchain
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # ratchet:actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: stable
- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # ratchet:Swatinem/rust-cache@v2
- run: cargo build --release
- name: Extract version from tag
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-vsix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
submodules: 'true'
- uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # ratchet:actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: stable
target: wasm32-unknown-unknown
override: true
profile: minimal
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # ratchet:actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
toolchain: stable
target: wasm32-unknown-unknown
override: true
components: rustfmt, clippy
Expand Down
Loading

0 comments on commit 458313e

Please sign in to comment.