Check Cargo.lock freshness on CI (#1565)

Check that `Cargo.lock` is up-to-date on CI so we're not having to push messy lockfile fix ups after releases.
This commit is contained in:
Michael Sproul 2020-08-26 00:01:08 +00:00
parent 4763f03dcc
commit 30bb7aecfb

View File

@ -123,6 +123,8 @@ jobs:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Lint code for quality and style with Clippy - name: Lint code for quality and style with Clippy
run: make lint run: make lint
- name: Certify Cargo.lock freshness
run: git diff --exit-code Cargo.lock
arbitrary-check: arbitrary-check:
name: arbitrary-check name: arbitrary-check
runs-on: ubuntu-latest runs-on: ubuntu-latest