| 1 | name: Refresh Go Cache |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: |
| 6 | - main |
| 7 | paths: |
| 8 | - go.work |
| 9 | - "**/go.mod" |
| 10 | - "**/versions.go" |
| 11 | - .github/workflows/refresh-go-cache.yaml |
| 12 | workflow_dispatch: |
| 13 | |
| 14 | permissions: |
| 15 | contents: read |
| 16 | |
| 17 | jobs: |
| 18 | refresh: |
| 19 | strategy: |
| 20 | fail-fast: false |
| 21 | matrix: |
| 22 | os: |
| 23 | - macos-15 |
| 24 | - ubuntu-24.04 |
| 25 | - windows-2025 |
| 26 | uses: curioswitch/go-build/.github/workflows/export-refresh-go-cache.yaml@338fc9f50df6cb664134b5c600630dcbc483d81f # v0.7.3 |
| 27 | with: |
| 28 | runner: ${{ matrix.os }} |