File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 6
6
runs-on : ubuntu-latest
7
7
strategy :
8
8
matrix :
9
- go : [ '1.20 ', '1.19 ', '1.18 ' ]
9
+ go : [ '1.23 ', '1.22 ', '1.21 ' ]
10
10
tags : [ 'strftime_native_errors', '' ]
11
11
fail-fast : false
12
12
name : " Go ${{ matrix.go }} test (tags: ${{ matrix.tags }})"
13
13
steps :
14
14
- name : Checkout repository
15
- uses : actions/checkout@v3
15
+ uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
16
16
- name : Install Go stable version
17
- uses : actions/setup-go@v4
17
+ uses : actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
18
18
with :
19
19
go-version : ${{ matrix.go }}
20
20
- name : Test with coverage
21
21
run : make STRFTIME_TAGS=${{ matrix.tags }} cover
22
22
- name : Upload code coverage to codecov
23
- if : matrix.go == '1.20 '
24
- uses : codecov/codecov-action@v3
23
+ if : matrix.go == '1.23 '
24
+ uses : codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
25
25
with :
26
26
file : ./coverage.out
Original file line number Diff line number Diff line change 5
5
name : lint
6
6
runs-on : ubuntu-latest
7
7
steps :
8
- - uses : actions/checkout@v3
9
- - uses : actions/setup-go@v4
8
+ - uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
9
+ - uses : actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
10
10
with :
11
- go-version : 1.18
11
+ go-version : 1.21
12
12
check-latest : true
13
- - uses : golangci/golangci-lint-action@v3
13
+ - uses : golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6.1.0
14
14
with :
15
- version : v1.45.2
15
+ version : v1.60.1
16
16
- name : Run go vet
17
17
run : |
18
18
go vet ./...
Original file line number Diff line number Diff line change 1
1
module github.com/lestrrat-go/strftime
2
2
3
- go 1.19
3
+ go 1.21
4
4
5
5
require (
6
6
github.com/lestrrat-go/envload v0.0.0-20180220234015-a3eb8ddeffcc
You can’t perform that action at this time.
0 commit comments