Commit 936b42e
committed
gha: tweak settings, add testing for "stable" and "oldstable" go
- set default permissions to "content: read" as actions in this repository
don't require write acccess.
- set a guardrails timeout; this should not be needed normally, but
GitHub's default timeout is 6 Hours, and prevents runaway actions
that may happen occasionally on GitHub service outages.
- remove filter for branch name and run on pull-requests, push events
- add "stable" and "oldstable" Go versions to the matrix; these always
point to the currently maintained versions of Go (currently Go1.25
and Go1.24). Using the fixed ("oldstable", "stable") keywords reduces
maintainance and helps marking checks as "required" in branch protection,
as such options are using the name generated from the matrix.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>1 parent 4bd84d5 commit 936b42e
1 file changed
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
7 | 11 | | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
16 | | - | |
| 21 | + | |
17 | 22 | | |
18 | 23 | | |
19 | 24 | | |
| |||
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
| 40 | + | |
35 | 41 | | |
36 | 42 | | |
37 | 43 | | |
| |||
40 | 46 | | |
41 | 47 | | |
42 | 48 | | |
43 | | - | |
| 49 | + | |
44 | 50 | | |
45 | 51 | | |
46 | 52 | | |
| |||
0 commit comments