Compare commits
2 commits
ecd460cdfb
...
12679f3611
Author | SHA1 | Date | |
---|---|---|---|
12679f3611 | |||
80af909ab0 |
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.80.1-1
|
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.80.1-1
|
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.80.1-1
|
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.80.1-1
|
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