aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2025-08-03 23:04:25 +0200
committerJakob Unterwurzacher2025-08-03 23:04:25 +0200
commita946f12d04ab7dbc9ba357bf8ea3af5e6d8484d8 (patch)
tree7f0b1f74249a3b59e09506bf933b3fbe48a8a4fc
parente8d8f97de7d6c8f8fb82e51ca64c33ca1ab31e0b (diff)
github ci: checkout first to make dependency caching work
We used to get this: Warning: Restore cache failed: Dependencies file is not found in /home/runner/work/gocryptfs/gocryptfs. Supported file pattern: go.sum Hopefully make it go away by checking out the code first. Fixes https://github.com/rfjakob/gocryptfs/issues/946
-rw-r--r--.github/workflows/ci.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7751893..c596d9a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -26,6 +26,10 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
+ - uses: actions/checkout@v4
+ with:
+ fetch-depth: 0 # Make "git describe" work
+
- name: Install Go ${{ matrix.go }}
uses: actions/setup-go@v5
with:
@@ -35,10 +39,6 @@ jobs:
# https://github.com/actions/runner/issues/1188
- run: ls -l /proc/self/fd
- - uses: actions/checkout@v4
- with:
- fetch-depth: 0 # Make "git describe" work
-
# CI platform specific setup steps happen here
- run: sudo apt-get install -qq fuse3 libssl-dev