Skip to content

build: split test job; add fmt and clippy jobs #13

build: split test job; add fmt and clippy jobs

build: split test job; add fmt and clippy jobs #13

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run build
run: cargo build --verbose
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run tests
run: cargo test --verbose
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run format check
run: cargo fmt --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run format check
run: cargo clippy