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:
|
||||
build:
|
||||
runs-on: docker
|
||||
strategy:
|
||||
matrix:
|
||||
version: [stable, nightly]
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Format
|
||||
uses: https://git.kemitix.net/kemitix/rust@v1.80.1-1
|
||||
- name: Format ${{ matrix.version }}
|
||||
uses: https://git.kemitix.net/kemitix/rust@v1.81.0-1
|
||||
with:
|
||||
args: cargo fmt --all -- --check
|
||||
args: cargo +${{ matrix.version }} fmt --all -- --check
|
||||
|
||||
- name: Clippy
|
||||
uses: https://git.kemitix.net/kemitix/rust@v1.80.1-1
|
||||
- name: Clippy ${{ matrix.version }}
|
||||
uses: https://git.kemitix.net/kemitix/rust@v1.81.0-1
|
||||
with:
|
||||
args: cargo hack --feature-powerset clippy
|
||||
args: cargo +${{ matrix.version }} hack --feature-powerset clippy
|
||||
|
||||
- name: Build
|
||||
uses: https://git.kemitix.net/kemitix/rust@v1.80.1-1
|
||||
- name: Build ${{ matrix.version }}
|
||||
uses: https://git.kemitix.net/kemitix/rust@v1.81.0-1
|
||||
with:
|
||||
args: cargo hack --feature-powerset build
|
||||
args: cargo +${{ matrix.version }} hack --feature-powerset build
|
||||
|
||||
- name: Test
|
||||
uses: https://git.kemitix.net/kemitix/rust@v1.80.1-1
|
||||
- name: Test ${{ matrix.version }}
|
||||
uses: https://git.kemitix.net/kemitix/rust@v1.81.0-1
|
||||
with:
|
||||
args: cargo hack --feature-powerset test
|
||||
args: cargo +${{ matrix.version }} hack --feature-powerset test
|
||||
|
|
Loading…
Reference in a new issue