Skip to content

Commit

Permalink
ci(toolchain): use stable rust toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
saying121 committed Jul 26, 2024
1 parent e5458fa commit ae85e9b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
rust: [nightly]
rust: [stable]
steps:
- uses: actions/checkout/@v4

- name: Install Toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
toolchain: stable
components: clippy

- name: Rust Cache
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
- name: Fetch Repository
uses: actions/checkout@v4

- name: Install Nightly Rust Toolchain
- name: Install Stable Rust Toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
toolchain: stable

- name: Rust version
id: rustc-version
Expand Down Expand Up @@ -75,10 +75,10 @@ jobs:
- name: Rust Cache
uses: Swatinem/rust-cache@v2

- name: Install Nightly Rust Toolchain
- name: Install Stable Rust Toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
toolchain: stable

- name: Install jql
uses: taiki-e/install-action@v2
Expand Down Expand Up @@ -155,10 +155,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install Nightly Rust Toolchain
- name: Install Stable Rust Toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
toolchain: stable
targets: ${{ matrix.target }}

- name: Rust Cache
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
rust: [nightly]
rust: [stable]
steps:
- uses: actions/checkout/@v4

- name: Rust Toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
toolchain: stable

- name: Rust Cache
if: startsWith(matrix.os, 'ubuntu-')
Expand Down

0 comments on commit ae85e9b

Please sign in to comment.