Add more tests, stdlib, etc #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: check | |
on: | |
push: | |
tags-ignore: | |
- "v*.*.*" | |
branches: | |
- "*" | |
pull_request: | |
branches: | |
- "*" | |
tags-ignore: | |
- "v*.*.*" | |
workflow_call: {} | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup rust | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy,rustfmt | |
- name: Install nextest | |
uses: taiki-e/install-action@nextest | |
- name: Load rust cache | |
uses: Swatinem/rust-cache@v2 | |
- name: Setup problem matchers | |
uses: r7kamura/rust-problem-matchers@v1 | |
- name: Check formatting | |
run: cargo fmt -- --check | |
- name: Cargo check | |
run: cargo check | |
- name: Run tests | |
run: cargo nextest run |