Skip to content

Commit

Permalink
[ci] move to nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
seqre committed Mar 20, 2023
1 parent 4c6a363 commit 73d605b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: sudo apt-get update && sudo apt-get -yy install musl-tools

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

Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
key: ${{ runner.os }}-cargo-debug-${{ hashFiles('**/Cargo.toml') }}

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@nightly

- name: Publish to crates.io
run: cargo publish --token ${CRATES_IO_TOKEN}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ env:
CARGO_TERM_COLOR: always

jobs:
build:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@nightly
- uses: actions/cache@v3
with:
path: |
Expand All @@ -23,14 +23,14 @@ jobs:
target
key: ${{ runner.os }}-cargo-debug-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-debug-
- run: cargo build --verbose
- run: cargo check --verbose

clippy:
runs-on: ubuntu-latest
needs: ['build']
needs: ['check']
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@nightly
with:
components: clippy
- uses: actions/cache@v3
Expand All @@ -46,7 +46,7 @@ jobs:

rustfmt:
runs-on: ubuntu-latest
needs: ['build']
needs: ['check']
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
Expand Down

0 comments on commit 73d605b

Please # to comment.