File tree 3 files changed +6
-8
lines changed 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 4
4
test :
5
5
strategy :
6
6
matrix :
7
- go-version : [1.20 .x, 1.21 .x]
7
+ go-version : [1.21 .x, 1.22 .x]
8
8
os : [ubuntu-latest, macos-latest, windows-latest]
9
9
runs-on : ${{ matrix.os }}
10
10
steps :
11
- - uses : actions/setup-go@v3
11
+ - uses : actions/setup-go@v5
12
12
with :
13
13
go-version : ${{ matrix.go-version }}
14
- - uses : actions/checkout@v3
14
+ - uses : actions/checkout@v4
15
15
- run : go test ./...
16
16
- run : go test -race ./...
17
17
18
18
# Static checks from this point forward. Only run on one Go version and on
19
19
# Linux, since it's the fastest platform, and the tools behave the same.
20
- - if : matrix.os == 'ubuntu-latest' && matrix.go-version == '1.21 .x'
20
+ - if : matrix.os == 'ubuntu-latest' && matrix.go-version == '1.22 .x'
21
21
run : diff <(echo -n) <(gofmt -s -d .)
22
- - if : matrix.os == 'ubuntu-latest' && matrix.go-version == '1.21 .x'
22
+ - if : matrix.os == 'ubuntu-latest' && matrix.go-version == '1.22 .x'
23
23
run : go vet ./...
Original file line number Diff line number Diff line change 1
1
module mvdan.cc/gofumpt
2
2
3
- go 1.20
3
+ go 1.21
4
4
5
5
require (
6
6
github.com/frankban/quicktest v1.14.6
Original file line number Diff line number Diff line change 1
1
# Test various edge cases with go.mod files.
2
2
3
- [!go1.21] skip 'Go 1.20 or older cannot parse these go.mod files'
4
-
5
3
exec gofumpt toolchain-stable/a.go
6
4
stdout '//gofumpt:diagnose.* -lang=v1.21'
7
5
You can’t perform that action at this time.
0 commit comments