mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-12-22 22:59:27 +00:00
run checks in different CI
This commit is contained in:
parent
cb6c49d189
commit
b470a00f31
1 changed files with 18 additions and 5 deletions
23
.github/workflows/rust.yml
vendored
23
.github/workflows/rust.yml
vendored
|
@ -25,10 +25,9 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-latest, ubuntu-latest]
|
os: [macos-latest, ubuntu-latest]
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
- name: Test
|
- name: Test
|
||||||
run: cargo test --all-features
|
run: cargo test --all-features
|
||||||
# Run typo checker separately.
|
|
||||||
# This will fast-cancel other CI early if this fails.
|
|
||||||
typo:
|
typo:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
@ -36,7 +35,7 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Spell Check
|
- name: Spell Check
|
||||||
uses: crate-ci/typos@master
|
uses: crate-ci/typos@master
|
||||||
build:
|
clippy:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -44,8 +43,22 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Clippy (fail on warnings)
|
- name: Clippy (fail on warnings)
|
||||||
run: cargo clippy --all-features --all-targets -- -D warnings
|
run: cargo clippy --all-features -- -D warnings
|
||||||
|
check:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [macos-latest, ubuntu-latest]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
- name: Check compilation
|
- name: Check compilation
|
||||||
run: cargo check --all-features --verbose
|
run: cargo check --all-features --verbose
|
||||||
|
doc:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [macos-latest, ubuntu-latest]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
- name: Documentation
|
- name: Documentation
|
||||||
run: cargo doc --workspace --all-features --no-deps
|
run: cargo doc --all-features --no-deps
|
||||||
|
|
Loading…
Reference in a new issue