File tree Expand file tree Collapse file tree 2 files changed +20
-10
lines changed Expand file tree Collapse file tree 2 files changed +20
-10
lines changed Original file line number Diff line number Diff line change 11name : ci
22
3- on :
4- pull_request :
5- branches : ' *'
6- push :
7- branches :
8- - master
9- - main
10- - ' release-*'
3+ # Default to 'contents: read', which grants actions to read commits.
4+ #
5+ # If any permission is set, any permission not included in the list is
6+ # implicitly set to "none".
7+ #
8+ # see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
9+ permissions :
10+ contents : read
11+
12+ on : [push, pull_request]
1113
1214jobs :
1315 test :
1416 strategy :
1517 matrix :
1618 os : [ubuntu, macos, windows]
17- golang : ['1.23', '1.24']
19+ # test oldest supported version and currently maintained Go versions.
20+ golang : ['1.23.x', 'oldstable', 'stable']
1821 # currently, we cannot run non-x86_64 machines on GitHub Actions cloud env.
1922 runs-on : ${{ matrix.os }}-latest
23+ timeout-minutes : 10 # guardrails timeout for the whole job
24+ env :
25+ # Setting GOTOOLCHAIN to local tells go
26+ # to use the bundled Go version rather
27+ # than fetching the toolchain according to
28+ # toolchain directive found in go.mod.
29+ GOTOOLCHAIN : local
2030 name : CI golang ${{ matrix.golang }} on ${{ matrix.os }}
2131 steps :
2232 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change 11module github.com/fluent/fluent-logger-golang
22
3- go 1.23.5
3+ go 1.23.0
44
55require github.com/tinylib/msgp v1.3.0
66
You can’t perform that action at this time.
0 commit comments