ci: Bug fix: need to check out code and install toolchain in new jobs
This commit is contained in:
parent
8e0f4ace34
commit
f814a6dbc3
1 changed files with 18 additions and 11 deletions
29
.github/workflows/ci.yaml
vendored
29
.github/workflows/ci.yaml
vendored
|
@ -63,7 +63,7 @@ jobs:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: nightly
|
toolchain: nightly
|
||||||
override: true
|
override: true
|
||||||
components: rustfmt, clippy
|
components: rustfmt
|
||||||
- name: fmt
|
- name: fmt
|
||||||
run: cargo fmt --all -- --check
|
run: cargo fmt --all -- --check
|
||||||
|
|
||||||
|
@ -74,16 +74,23 @@ jobs:
|
||||||
feature_flag: ["--all-features", "--no-default-features", ""]
|
feature_flag: ["--all-features", "--no-default-features", ""]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: clippy
|
- uses: actions/checkout@v4
|
||||||
uses: actions-rs/cargo@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
command: clippy
|
profile: minimal
|
||||||
args: --all-targets ${{ matrix.feature_flag }} -- -D warnings
|
toolchain: nightly
|
||||||
- name: docs
|
override: true
|
||||||
uses: actions-rs/cargo@v1
|
components: clippy
|
||||||
with:
|
- name: clippy
|
||||||
command: doc
|
uses: actions-rs/cargo@v1
|
||||||
args: --no-deps --all-targets ${{ matrix.feature_flag }} -- -D warnings
|
with:
|
||||||
|
command: clippy
|
||||||
|
args: --all-targets ${{ matrix.feature_flag }} -- -D warnings
|
||||||
|
- name: docs
|
||||||
|
uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: doc
|
||||||
|
args: --no-deps --all-targets ${{ matrix.feature_flag }} -- -D warnings
|
||||||
|
|
||||||
fuzz_read:
|
fuzz_read:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Add table
Reference in a new issue