From a946f12d04ab7dbc9ba357bf8ea3af5e6d8484d8 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 3 Aug 2025 23:04:25 +0200 Subject: 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 --- .github/workflows/ci.yml | 8 ++++---- 1 file 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 -- cgit v1.2.3