Skip to content

ci: Add build, test and lint jobs #1

ci: Add build, test and lint jobs

ci: Add build, test and lint jobs #1

Workflow file for this run

name: Check project with cargo tooling
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: build
run: cargo build --release --all-targets --keep-going --verbose
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: test
run: cargo test --no-fail-fast --all-targets --verbose
- name: test docs
run: cargo test --no-fail-fast --doc --verbose
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: check
run: cargo clippy --no-deps --all-targets --verbose