Skip to content

check Cargo.lock in the CI #144

check Cargo.lock in the CI

check Cargo.lock in the CI #144

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: if [[ -n $(git status --short Cargo.lock) ]]; then exit 1; fi
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