test on nightly as well as stable
This commit is contained in:
parent
ef00ba34f2
commit
a575854632
1 changed files with 3 additions and 1 deletions
4
.github/workflows/pr.yml
vendored
4
.github/workflows/pr.yml
vendored
|
|
@ -10,6 +10,7 @@ jobs:
|
|||
fail-fast: true
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
rust-version: [stable, nightly]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Check out code into the proper directory
|
||||
|
|
@ -21,8 +22,9 @@ jobs:
|
|||
uses: Swatinem/rust-cache@v2
|
||||
|
||||
- name: Install rust
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: ${{ matrix.rust-version }}
|
||||
components: rustfmt, clippy
|
||||
|
||||
- name: Check formatting
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue