MSRV build #21
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: MSRV build | |
on: | |
push: | |
# will checkout the default branch `development` | |
schedule: | |
# run every Friday at 17:00 | |
- cron: '00 17 * * 5' | |
# Or ran manually | |
workflow_dispatch: | |
# Stops the running workflow of previous pushes | |
concurrency: | |
# cancel per workflow | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
RUST_MSRV_VERSION: '1.71' | |
jobs: | |
build: | |
name: Test and build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Rust setup (MSRV) | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ env.RUST_MSRV_VERSION }} | |
- uses: Swatinem/rust-cache@v2 | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- run: cargo check | |
- run: cargo test --verbose --lib --bins --tests --benches --example angle |