Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 2 additions & 18 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,7 @@ env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
# try to build
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
# run all tests
- uses: actions/checkout@v3
- name: Run tests
run: cargo build && cargo test --verbose

linting:

runs-on: ubuntu-latest

steps:
Expand All @@ -38,7 +23,6 @@ jobs:
run: cargo +nightly fmt --all --check

# run cargo clippy
- uses: actions/checkout@v3
- name: Clippy
run: cargo +nightly clippy --all-targets

Expand All @@ -53,5 +37,5 @@ jobs:
with:
toolchain: ${{ matrix.rust }}

- name: Cross compile
run: cargo build && cargo test --verbose
- run: cargo build --verbose
- run: cargo test --verbose