Commit 287815e
committed
gha: extend matrix to include Windows and macOS, and lint on all
Combine "Lint" and "Test" into a single matrix so that linting runs
on all versions of Go and all platforms. Some linters apply rules
depending on Go version and we must avoid applying rules that are
not applicable to older versions of Go that are supported by this
module.
Combining "Lint" and "Test" allows re-using the common steps, such
as checking out the code and setting up Go; duration of tests and
linting on this repository is short, so running Lint and Test in
parallel does not gain much time.
This patch also reduces the test matrix to "oldest supported version
of Go (by this module), and currently supported versions of Go (current
stable, and previous stable)".
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>1 parent 0875728 commit 287815e
1 file changed
+10
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
23 | 30 | | |
24 | 31 | | |
25 | 32 | | |
| |||
34 | 41 | | |
35 | 42 | | |
36 | 43 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | 44 | | |
52 | 45 | | |
53 | 46 | | |
| |||
0 commit comments