Skip to content

emit an error when Cargo.lock has changed #142

emit an error when Cargo.lock has changed

emit an error when Cargo.lock has changed #142

Workflow file for this run

on:
pull_request:
push:
branches:
- main
name: continuous-integration
jobs:
fmt-check-clippy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Setup Rust toolchain
uses: actions-rust-lang/[email protected]
with:
rustflags: ""
- run: make check
- name: Check Cargo.lock
run: [[ -n $(git status --short) ]] && exit 1

Check failure on line 24 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 24
tests:
strategy:
fail-fast: true
matrix:
platform: [windows-latest, macos-latest, ubuntu-20.04]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- name: Setup Rust toolchain
uses: actions-rust-lang/[email protected]
with:
rustflags: ""
- run: make test