Skip to content

Update CI

Update CI #23

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:
toolchain: stable
components: clippy, rustfmt
override: true
- name: rustfmt
uses: mbrobbel/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: clippy
uses: clechasseur/rs-clippy-check@2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose