modified workflow file
This commit is contained in:
parent
64bb2a59ed
commit
4d5d7b19d5
19
.github/workflows/rust.yml
vendored
19
.github/workflows/rust.yml
vendored
@ -7,14 +7,17 @@ env:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install
|
||||
run: apt update && apt install rustc cargo -y
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
- name: Run tests
|
||||
run: cargo test --verbose
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable # You can change this to nightly or other versions
|
||||
|
||||
- name: Build with Cargo
|
||||
run: |
|
||||
cargo build --release
|
||||
|
Loading…
Reference in New Issue
Block a user