Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Bump styfle/cancel-workflow-action from 0.11.0 to 0.12.0 #125

Bump styfle/cancel-workflow-action from 0.11.0 to 0.12.0

Bump styfle/cancel-workflow-action from 0.11.0 to 0.12.0 #125

Workflow file for this run

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.12.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