Delete intermediary snapshots created by tests, to avoid out-of-disk-space errors during artifact generation #6466
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: Check no dependencies were modified | |
on: pull_request | |
jobs: | |
dependency_changed_check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout repository" | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: "Check Cargo.lock not in changeset" | |
run: | | |
git fetch origin | |
git diff origin/$GITHUB_BASE_REF.. --name-only| ( ! grep "Cargo.lock") |