build(push-next): run against stable and nightly
Some checks failed
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Rust / build (stable) (push) Failing after 7s
Rust / build (nightly) (push) Failing after 13s
ci/woodpecker/push/push-next Pipeline was successful
Some checks failed
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Rust / build (stable) (push) Failing after 7s
Rust / build (nightly) (push) Failing after 13s
ci/woodpecker/push/push-next Pipeline was successful
This commit is contained in:
parent
80af909ab0
commit
12679f3611
1 changed files with 15 additions and 12 deletions
|
@ -12,27 +12,30 @@ env:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
version: [stable, nightly]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Format
|
- name: Format ${{ matrix.version }}
|
||||||
uses: https://git.kemitix.net/kemitix/rust@v1.81.0
|
uses: https://git.kemitix.net/kemitix/rust@v1.81.0-1
|
||||||
with:
|
with:
|
||||||
args: cargo fmt --all -- --check
|
args: cargo +${{ matrix.version }} fmt --all -- --check
|
||||||
|
|
||||||
- name: Clippy
|
- name: Clippy ${{ matrix.version }}
|
||||||
uses: https://git.kemitix.net/kemitix/rust@v1.81.0
|
uses: https://git.kemitix.net/kemitix/rust@v1.81.0-1
|
||||||
with:
|
with:
|
||||||
args: cargo hack --feature-powerset clippy
|
args: cargo +${{ matrix.version }} hack --feature-powerset clippy
|
||||||
|
|
||||||
- name: Build
|
- name: Build ${{ matrix.version }}
|
||||||
uses: https://git.kemitix.net/kemitix/rust@v1.81.0
|
uses: https://git.kemitix.net/kemitix/rust@v1.81.0-1
|
||||||
with:
|
with:
|
||||||
args: cargo hack --feature-powerset build
|
args: cargo +${{ matrix.version }} hack --feature-powerset build
|
||||||
|
|
||||||
- name: Test
|
- name: Test ${{ matrix.version }}
|
||||||
uses: https://git.kemitix.net/kemitix/rust@v1.81.0
|
uses: https://git.kemitix.net/kemitix/rust@v1.81.0-1
|
||||||
with:
|
with:
|
||||||
args: cargo hack --feature-powerset test
|
args: cargo +${{ matrix.version }} hack --feature-powerset test
|
||||||
|
|
Loading…
Reference in a new issue