Added Rust nightly toolchain to GitHub Workflows

pull/55/head
Meliurwen 2 years ago
parent a1c1448da7
commit 1f59e5e3b7
  1. 12
      .github/workflows/build.yml

@ -16,12 +16,20 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Setup (rust)
- name: Setup Rust stable (default)
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
default: true
components: clippy, rustfmt
- name: Setup Rust nightly
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
default: false
components: rustfmt
- name: Linting (clippy)
uses: actions-rs/clippy-check@v1
with:
@ -31,7 +39,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check --verbose
args: +nightly --all -- --check --verbose
- name: Tests (test)
uses: actions-rs/cargo@v1
with:

Loading…
Cancel
Save