Commit 06138f0
feat(ci): dynamic Go version lookup (#118)
* feat(ci): dynamic Go version lookup
Introduce a new job (GoVersions) that uses arnested/go-version-action
to compute a matrix of supported Go versions and expose it as an output.
Make UnitTestJob depend on GoVersions and replace the hardcoded go matrix
with a dynamic matrix sourced from needs.GoVersions.outputs.matrix.
This removes the need to update the workflow whenever new Go versions are
added, ensuring the CI runs tests across the current set of supported
Go releases automatically.
* Update .github/workflows/code.yaml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent e4360ca commit 06138f0
1 file changed
+12
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
32 | 42 | | |
33 | 43 | | |
| 44 | + | |
34 | 45 | | |
35 | 46 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 47 | + | |
41 | 48 | | |
42 | 49 | | |
43 | 50 | | |
| |||
0 commit comments