Skip to content

Add GitHub test workflow #6

Add GitHub test workflow

Add GitHub test workflow #6

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
Test:
runs-on: ubuntu-latest
steps:
- name: Install Rust
uses: dtolnay/rust-toolchain@1.91
- name: Checkout
uses: actions/checkout@v6
- name: Configure git
run: git config --global url."https://${{ secrets.GIT_CREDENTIALS }}@github.com".insteadOf https://github.com
- name: Lint
run: |
cargo fmt -- --check &&
cargo clippy -- --no-deps --deny warnings &&
cargo clippy --tests -- --no-deps --deny warnings
- name: Build
run: cargo build --locked
- name: Test
run: cargo test && cargo test --ignored