Fix accidentally pulled bug in eQC rule #275
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: Build without committed Cargo.lock | |
on: | |
push: | |
branches: | |
- main | |
- release-* | |
tags: | |
# YYYYMMDD | |
- "20[0-9][0-9][0-1][0-9][0-3][0-9]*" | |
schedule: | |
- cron: "0 0 * * 1" | |
pull_request: | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ (github.ref == 'refs/heads/main' && github.run_number) || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build-ignore-lockfile: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Enable Rust Caching | |
uses: Swatinem/rust-cache@v2 | |
with: | |
prefix-key: v1-rust | |
- name: Build without committed Cargo.lock | |
run: | | |
cargo generate-lockfile | |
cargo check --all-targets |