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:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
toolchain:
|
||||||
|
- name: stable
|
||||||
|
- name: nightly
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -20,7 +26,7 @@ jobs:
|
||||||
- name: Format
|
- name: Format
|
||||||
uses: https://git.kemitix.net/kemitix/rust@v2.0.4
|
uses: https://git.kemitix.net/kemitix/rust@v2.0.4
|
||||||
with:
|
with:
|
||||||
args: cargo fmt --all -- --check
|
args: ${{ matrix.toolchain.name }} cargo fmt --all -- --check
|
||||||
|
|
||||||
# - name: Machete
|
# - name: Machete
|
||||||
# uses: https://github.com/bnjbvr/cargo-machete@v0.6.2
|
# uses: https://github.com/bnjbvr/cargo-machete@v0.6.2
|
||||||
|
@ -28,17 +34,17 @@ jobs:
|
||||||
- name: Clippy
|
- name: Clippy
|
||||||
uses: https://git.kemitix.net/kemitix/rust@v2.0.4
|
uses: https://git.kemitix.net/kemitix/rust@v2.0.4
|
||||||
with:
|
with:
|
||||||
args: cargo clippy
|
args: ${{ matrix.toolchain.name }} cargo clippy
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
uses: https://git.kemitix.net/kemitix/rust@v2.0.4
|
uses: https://git.kemitix.net/kemitix/rust@v2.0.4
|
||||||
with:
|
with:
|
||||||
args: cargo build
|
args: ${{ matrix.toolchain.name }} cargo build
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
uses: https://git.kemitix.net/kemitix/rust@v2.0.4
|
uses: https://git.kemitix.net/kemitix/rust@v2.0.4
|
||||||
with:
|
with:
|
||||||
args: cargo test --no-fail-fast
|
args: ${{ matrix.toolchain.name }} cargo test --no-fail-fast
|
||||||
|
|
||||||
- name: Integration
|
- name: Integration
|
||||||
uses: https://git.kemitix.net/kemitix/rust@v2.0.4
|
uses: https://git.kemitix.net/kemitix/rust@v2.0.4
|
||||||
|
|
Loading…
Reference in a new issue