Update rust.yml
This commit is contained in:
parent
d3082f6577
commit
79faf94a22
8
.github/workflows/rust.yml
vendored
8
.github/workflows/rust.yml
vendored
@ -7,16 +7,16 @@ jobs:
|
|||||||
os: [ubuntu-latest, macOS-latest, windows-latest]
|
os: [ubuntu-latest, macOS-latest, windows-latest]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- run: rustup update stable
|
- run: rustup update stable
|
||||||
|
- run: rustup component add rustfmt
|
||||||
|
- run: rustup component add clippy
|
||||||
- name: cargo build
|
- name: cargo build
|
||||||
# uses: actions/cache@v1
|
uses: actions/checkout@v3
|
||||||
# with:
|
# with:
|
||||||
# path: target
|
# path: target
|
||||||
# key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
|
# key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
|
||||||
# key: ubuntu-latest-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
|
# key: ubuntu-latest-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
|
||||||
- run: rustup component add rustfmt
|
|
||||||
- run: rustup component add clippy
|
|
||||||
- run: cargo build --all-features
|
- run: cargo build --all-features
|
||||||
- run: cargo test --all-features
|
- run: cargo test --all-features
|
||||||
- run: cargo fmt --all -- --check
|
- run: cargo fmt --all -- --check
|
||||||
|
Loading…
Reference in New Issue
Block a user