Skip to content

CI publish update

CI publish update #35

on: [push, pull_request]
name: Continuous Integration
jobs:
test:
name: Test Suite
strategy:
matrix:
include:
- os: ubuntu-20.04
code_name: focal
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: rustup setup
run: rustup component add rustfmt clippy
- name: cargo setup
run: cargo install cargo-audit
- name: fmt
run: cargo fmt -- --check
- name: clippy
run: cargo clippy -- -D warnings
- name: audit
run: cargo audit --deny warnings --ignore RUSTSEC-2024-0375 --ignore RUSTSEC-2021-0145
- name: test
run: cargo test