File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -8,22 +8,24 @@ and all versions in between.
8
8
9
9
Being consistent is hard.
10
10
11
- I used the hard code the Go versions my projects needed to test and
12
- builds against in my GitHub Actions workflow files.
11
+ I used to hard code the Go versions my projects needed for test and
12
+ builds in my GitHub Actions workflow files.
13
13
14
14
Of course the result was that I used different versions in the
15
- ` go.mod ` file and my workflow files. And whenever a new version of Go
16
- was released I forgot to add the new version to my build matrix and my
17
- projects weren't tested on the new release(s).
15
+ ` go.mod ` file and my workflow files.
16
+
17
+ Whenever a new version of Go (aka Golang) was released I forgot to add
18
+ the new version to my build matrix and my projects weren't tested on
19
+ the new release(s).
18
20
19
21
So I build this action.
20
22
21
23
The action reads the minimal supported Go version from your ` go.mod `
22
24
file and exposes it as a variable to you workflow.
23
25
24
26
It also pulls the list of release tags from
25
- https://github.com/golang/go and exposes the latest released Go
26
- version as a variable as well.
27
+ [ github.com/golang/go ] ( https://github.com/golang/go ) and exposes the
28
+ latest released Go version as a variable as well.
27
29
28
30
From the list of released go versions and the minimal version your
29
31
module supports we also build a "matrix" variable to be used as a
You can’t perform that action at this time.
0 commit comments