chore: move from circleci to github actions #1
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: CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
jobs: | |
build: | |
name: ${{ matrix.os }} | |
runs-on: ${{ matrix.os }}-latest | |
strategy: | |
matrix: | |
os: [Ubuntu, macOS, Windows] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install clippy, rustfmt and cargo-deny | |
run: | | |
rustup component add clippy | |
rustup component add rustfmt | |
cargo install cargo-deny | |
- name: Build | |
run: cargo build --verbose --features strict | |
- name: Run tests | |
run: cargo test --verbose | |
- name: Check lint | |
run: cargo clippy | |
- name: Check format | |
run: cargo fmt -- --check | |
- name: Run cargo deny | |
run: cargo deny check |