build: run test against Rust nightly
All checks were successful
Rust / build (map[name:stable]) (push) Successful in 1m10s
Rust / build (map[name:nightly]) (push) Successful in 1m22s
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Paul Campbell 2024-09-17 14:42:23 +01:00
parent 7f5af60757
commit 26db7106a1

View file

@ -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