Update rust.yml
This commit is contained in:
parent
19e3b8db2d
commit
d3082f6577
11
.github/workflows/rust.yml
vendored
11
.github/workflows/rust.yml
vendored
@ -6,15 +6,14 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macOS-latest, windows-latest]
|
os: [ubuntu-latest, macOS-latest, windows-latest]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
# runs-on: ubuntu-latest
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- run: rustup update stable
|
- run: rustup update stable
|
||||||
- name: Cache cargo build
|
- name: cargo build
|
||||||
uses: actions/cache@v1
|
# uses: actions/cache@v1
|
||||||
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 rustfmt
|
||||||
- run: rustup component add clippy
|
- run: rustup component add clippy
|
||||||
|
Loading…
x
Reference in New Issue
Block a user