]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
github-ci: use a unique id for the commit check cargo cache
authorJason Ish <jason.ish@oisf.net>
Thu, 10 Dec 2020 15:48:06 +0000 (09:48 -0600)
committerVictor Julien <victor@inliniac.net>
Thu, 14 Jan 2021 09:08:41 +0000 (10:08 +0100)
All builds have been using the same cache id for ~/.cargo which
could lead us to conflict situations which is what I think we are
seeing with the commit-check job.

(cherry picked from commit 49ca070446cdca49afc42d71aaedaa9a1b458897)

.github/workflows/commits.yml

index 7f3b1ca51445f2d96e1e3c5761ed04bcf1d3041e..dbdd4e9aedc55261b16bbca55eac68061473e92d 100644 (file)
@@ -14,7 +14,7 @@ jobs:
         uses: actions/cache@v1
         with:
           path: ~/.cargo
-          key: cargo
+          key: commit-check-cargo
       - name: Install dependencies
         run: |
           apt update