build: run test against Rust nightly
This commit is contained in:
parent
7f5af60757
commit
26db7106a1
1 changed files with 10 additions and 4 deletions
|
@ -13,6 +13,12 @@ jobs:
|
|||
build:
|
||||
runs-on: docker
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
toolchain:
|
||||
- name: stable
|
||||
- name: nightly
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
@ -20,7 +26,7 @@ jobs:
|
|||
- name: Format
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.0.4
|
||||
with:
|
||||
args: cargo fmt --all -- --check
|
||||
args: ${{ matrix.toolchain.name }} cargo fmt --all -- --check
|
||||
|
||||
# - name: Machete
|
||||
# uses: https://github.com/bnjbvr/cargo-machete@v0.6.2
|
||||
|
@ -28,17 +34,17 @@ jobs:
|
|||
- name: Clippy
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.0.4
|
||||
with:
|
||||
args: cargo clippy
|
||||
args: ${{ matrix.toolchain.name }} cargo clippy
|
||||
|
||||
- name: Build
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.0.4
|
||||
with:
|
||||
args: cargo build
|
||||
args: ${{ matrix.toolchain.name }} cargo build
|
||||
|
||||
- name: Test
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.0.4
|
||||
with:
|
||||
args: cargo test --no-fail-fast
|
||||
args: ${{ matrix.toolchain.name }} cargo test --no-fail-fast
|
||||
|
||||
- name: Integration
|
||||
uses: https://git.kemitix.net/kemitix/rust@v2.0.4
|
||||
|
|
Loading…
Reference in a new issue