Skip to content

Add github workflow for testing #3

Add github workflow for testing

Add github workflow for testing #3

Workflow file for this run

name: Test
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install stable toolchain
run: rustup toolchain install stable
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --release --lib
continue-on-error: false
- name: Format
run: cargo fmt
continue-on-error: false
- name: Lint
run: cargo clippy
continue-on-error: false