mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
github actions: cargo check
This commit is contained in:
parent
8fbbbba674
commit
91edc6fa2b
1 changed files with 6 additions and 6 deletions
12
.github/workflows/rust.yml
vendored
12
.github/workflows/rust.yml
vendored
|
@ -14,6 +14,10 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
override: true
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
|
@ -21,12 +25,8 @@ jobs:
|
|||
~/.cargo/git
|
||||
target
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
override: true
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
run: cargo check
|
||||
- name: Run tests
|
||||
run: cargo test --verbose --workspace
|
||||
run: cargo test --workspace
|
||||
|
||||
|
|
Loading…
Reference in a new issue