|
8 | 8 | # |
9 | 9 | # ------------------------------------------------------------------------------------ |
10 | 10 |
|
11 | | -name: 'Warm Go Caches' |
12 | | -description: 'Warm Go module and build caches for the specified Go version and OS' |
| 11 | +name: "Warm Go Caches" |
| 12 | +description: "Warm Go module and build caches for the specified Go version and OS" |
13 | 13 |
|
14 | 14 | inputs: |
15 | 15 | go-version: |
16 | | - description: 'Go version to use' |
| 16 | + description: "Go version to use" |
17 | 17 | required: true |
18 | 18 | matrix-os: |
19 | | - description: 'Operating system for the runner' |
| 19 | + description: "Operating system for the runner" |
20 | 20 | required: true |
21 | 21 | matrix-name: |
22 | | - description: 'Display name for the matrix configuration' |
| 22 | + description: "Display name for the matrix configuration" |
23 | 23 | required: true |
24 | 24 | enable-verbose: |
25 | | - description: 'Enable verbose output' |
| 25 | + description: "Enable verbose output" |
26 | 26 | required: false |
27 | | - default: 'false' |
| 27 | + default: "false" |
28 | 28 | go-primary-version: |
29 | | - description: 'Primary Go version for comparison' |
| 29 | + description: "Primary Go version for comparison" |
30 | 30 | required: true |
31 | 31 | go-secondary-version: |
32 | | - description: 'Secondary Go version for comparison' |
| 32 | + description: "Secondary Go version for comparison" |
33 | 33 | required: true |
34 | 34 |
|
35 | 35 | runs: |
36 | | - using: 'composite' |
| 36 | + using: "composite" |
37 | 37 | steps: |
38 | 38 | # ———————————————————————————————————————————————————————————————— |
39 | 39 | # Checkout code, set up Go, and cache dependencies |
|
59 | 59 | # ──────────────────────────────────────────────────────────────────────────── |
60 | 60 | - name: 💾 Restore Go module cache (shared) |
61 | 61 | id: gomod-cache |
62 | | - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 |
| 62 | + uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 |
63 | 63 | with: |
64 | 64 | path: | |
65 | 65 | ~/go/pkg/mod |
@@ -133,7 +133,7 @@ runs: |
133 | 133 | # ──────────────────────────────────────────────────────────────────────────── |
134 | 134 | - name: 💾 Restore Go build cache (per-version) |
135 | 135 | id: gobuild-cache |
136 | | - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 |
| 136 | + uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 |
137 | 137 | with: |
138 | 138 | path: | |
139 | 139 | ~/.cache/go-build |
|
0 commit comments