Skip to content

Commit d6ddcfb

Browse files
waverideraiclaude
andcommitted
CI: disable setup-go cache to silence go.sum warning
This module has zero external dependencies, so no go.sum exists and there is nothing to cache. setup-go's cache defaults to hashing go.sum and emitted a "Dependencies file is not found ... go.sum" restore-cache warning on every run. Set cache: false with an explanatory note. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 4d31552 commit d6ddcfb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ jobs:
1616
with:
1717
go-version: '1.22'
1818
check-latest: true
19+
# No go.sum: this module has zero external dependencies, so there is
20+
# nothing to cache. Disabling setup-go's cache silences the harmless
21+
# "Dependencies file is not found ... go.sum" restore-cache warning.
22+
cache: false
1923

2024
- name: Build
2125
run: go build ./...

0 commit comments

Comments
 (0)