From 30bb7aecfbb4c7e3567f86c48abed9bc8e413d68 Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Wed, 26 Aug 2020 00:01:08 +0000 Subject: [PATCH] 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. --- .github/workflows/test-suite.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 35767aadd..eb422e039 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -123,6 +123,8 @@ jobs: - uses: actions/checkout@v1 - name: Lint code for quality and style with Clippy run: make lint + - name: Certify Cargo.lock freshness + run: git diff --exit-code Cargo.lock arbitrary-check: name: arbitrary-check runs-on: ubuntu-latest