Skip to content

Commit

Permalink
Limit checks to pull requests; bust cache
Browse files Browse the repository at this point in the history
  • Loading branch information
dae committed Aug 27, 2023
1 parent c45aab4 commit d6c71f6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: Check code
on:
push:
pull_request:

jobs:
Expand All @@ -16,9 +15,9 @@ jobs:
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-rust-release-v5-${{ hashFiles('Cargo.lock') }}
key: ${{ runner.os }}-rust-release-v6-${{ hashFiles('Cargo.lock') }}
restore-keys: |
${{ runner.os }}-rust-release-v5
${{ runner.os }}-rust-release-v6
${{ runner.os }}-rust-release
- name: Run checks
Expand Down

0 comments on commit d6c71f6

Please sign in to comment.