Skip to content

ci: finally cache Go dependencies; try ratchet to pin GH Actions#180

Merged
marco-m-pix4d merged 2 commits into
masterfrom
fix-ci-caching
Apr 14, 2026
Merged

ci: finally cache Go dependencies; try ratchet to pin GH Actions#180
marco-m-pix4d merged 2 commits into
masterfrom
fix-ci-caching

Conversation

@marco-m-pix4d

@marco-m-pix4d marco-m-pix4d commented Apr 13, 2026

Copy link
Copy Markdown
Contributor
  1. ci: finally cache Go dependencies
    It took me years of experiments to finally find the (obvious in retrospective) fix to the warning

    Restore cache failed: Dependencies file is not found in /home/runner/work/cogito/cogito. Supported file pattern: go.mod

This seems to have reduced the CI run from 1m30s to 1m.

  1. try ratchet to pin GH Actions

Done with:

ratchet pin .github/workflows/ci.yml

ratchet: https://github.com/sethvargo/ratchet

PCI-4096

Comment thread .github/workflows/ci.yml
Base automatically changed from migrate-googlechat to master April 14, 2026 07:34
It took me years of experiments to finally find the (obvious) fix to the warning

    Restore cache failed: Dependencies file is not found in /home/runner/work/cogito/cogito. Supported file pattern: go.mod
Done with:

    ratchet pin .github/workflows/ci.yml

ratchet: https://github.com/sethvargo/ratchet
@marco-m-pix4d marco-m-pix4d merged commit 4409089 into master Apr 14, 2026
1 check passed
@marco-m-pix4d marco-m-pix4d deleted the fix-ci-caching branch April 14, 2026 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants