Skip to content

Update GitHub actions and minor doc tweaks #36

Update GitHub actions and minor doc tweaks

Update GitHub actions and minor doc tweaks #36

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: clippy
uses: clechasseur/rs-clippy-check@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- name: rustfmt
uses: mbrobbel/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
mode: review