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:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Checkout Repository
|
||||||
- name: Install
|
uses: actions/checkout@v2
|
||||||
run: apt update && apt install rustc cargo -y
|
|
||||||
- name: Build
|
- name: Set up Rust
|
||||||
run: cargo build --verbose
|
uses: actions-rs/toolchain@v1
|
||||||
- name: Run tests
|
with:
|
||||||
run: cargo test --verbose
|
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