This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
Bump commit from 0.2.2 to 0.2.3 #127
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: Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
schedule: | |
- cron: '0 0 1 * *' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Outdated Builds | |
uses: styfle/cancel-workflow-action@0.11.0 | |
with: | |
all_but_latest: true | |
access_token: ${{ github.token }} | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Enable Rust Caching | |
uses: Swatinem/rust-cache@v2 | |
with: | |
cache-on-failure: true | |
- name: Format Check | |
run: cargo fmt -- --check | |
- name: Clippy | |
run: | | |
cargo clippy --workspace | |
- name: Audit | |
run: cargo audit --ignore RUSTSEC-2020-0159 --ignore RUSTSEC-2020-0071 | |
- name: Test | |
run: | | |
cargo test --workspace --release --no-run | |
cargo test --workspace --release --verbose -- --test-threads 2 | |
timeout-minutes: 30 |