Auto build on codemagic when new tags is created #89
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: Check | |
on: | |
pull_request: | |
branches: ["main"] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
lint: | |
name: Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@nightly | |
- name: Install nasm | |
uses: ilammy/setup-nasm@v1 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install cargo-binstall | |
uses: cargo-bins/cargo-binstall@main | |
- name: Install cargo check tools | |
run: cargo binstall --no-confirm cargo-deny cargo-outdated cargo-udeps cargo-audit || true | |
# remove advisory-db is required to fetch it correctly | |
- name: Check | |
run: | | |
cargo deny check | |
cargo outdated --exit-code 1 | |
cargo udeps | |
rm -rf ~/.cargo/advisory-db | |
cargo audit |