mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-14 17:18:20 +00:00
Update test.yml
- Add names to steps - No need to run clippy AND check (https://stackoverflow.com/questions/57449356/is-cargo-clippy-a-superset-of-cargo-check)
This commit is contained in:
parent
5ce4662b81
commit
dc696726cf
1 changed files with 16 additions and 12 deletions
28
.github/workflows/test.yml
vendored
28
.github/workflows/test.yml
vendored
|
@ -28,32 +28,36 @@ jobs:
|
||||||
continue-on-error: ${{ matrix.experimental }}
|
continue-on-error: ${{ matrix.experimental }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: Checkout
|
||||||
- uses: actions-rs/toolchain@v1
|
uses: actions/checkout@v2
|
||||||
|
- name: Setup Rust toolchain
|
||||||
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: ${{ matrix.rust }}
|
toolchain: ${{ matrix.rust }}
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
default: true
|
default: true
|
||||||
- uses: actions-rs/cargo@v1
|
- name: Format
|
||||||
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: fmt
|
command: fmt
|
||||||
args: -- --check
|
args: -- --check
|
||||||
- uses: actions-rs/cargo@v1
|
- name: Clippy
|
||||||
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: clippy
|
command: clippy
|
||||||
- uses: actions-rs/cargo@v1
|
args: --all-features --all-targets --all
|
||||||
with:
|
- name: Test
|
||||||
command: check
|
uses: actions-rs/cargo@v1
|
||||||
args: --all
|
|
||||||
- uses: actions-rs/cargo@v1
|
|
||||||
with:
|
with:
|
||||||
command: test
|
command: test
|
||||||
args: --all-features --all-targets --all
|
args: --all-features --all-targets --all
|
||||||
- uses: actions-rs/cargo@v1
|
- name: Test docs
|
||||||
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: test
|
command: test
|
||||||
args: --all-features --doc
|
args: --doc
|
||||||
- uses: actions-rs/cargo@v1
|
- name: Check (without default features)
|
||||||
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: check
|
command: check
|
||||||
args: --no-default-features
|
args: --no-default-features
|
||||||
|
|
Loading…
Reference in a new issue