@@ -14,18 +14,18 @@ jobs:
1414 strategy :
1515 fail-fast : false
1616 matrix :
17- go : ["1.13 .x", "1.20.x", "1.21.x"]
17+ go : ["1.18 .x", "1.20.x", "1.21.x"]
1818 platform : [ubuntu-20.04]
1919 runs-on : ${{ matrix.platform }}
2020 steps :
2121 - name : Install Go ${{ matrix.go }}
22- uses : actions/setup-go@v2
22+ uses : actions/setup-go@v4
2323 with :
2424 go-version : ${{ matrix.go }}
2525 - name : Setup IPv6
2626 run : sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=0 net.ipv6.conf.default.disable_ipv6=0 net.ipv6.conf.all.disable_ipv6=0
2727 - name : Checkout code
28- uses : actions/checkout@v2
28+ uses : actions/checkout@v4
2929 - name : Build for ${{ matrix.platform }}
3030 run : go build ./...
3131 - name : Test
@@ -37,16 +37,16 @@ jobs:
3737 strategy :
3838 fail-fast : false
3939 matrix :
40- go : ["1.13 .x", "1.20.x", "1.21.x"]
40+ go : ["1.18 .x", "1.20.x", "1.21.x"]
4141 platform : [windows-latest, macos-latest]
4242 runs-on : ${{ matrix.platform }}
4343 steps :
4444 - name : Install Go ${{ matrix.go }}
45- uses : actions/setup-go@v2
45+ uses : actions/setup-go@v4
4646 with :
4747 go-version : ${{ matrix.go }}
4848 - name : Checkout code
49- uses : actions/checkout@v2
49+ uses : actions/checkout@v4
5050 - name : Build for ${{ matrix.platform }}
5151 run : go build ./...
5252 - name : Test
6161 platform : [ubuntu-20.04, windows-latest, macos-latest]
6262 runs-on : ${{ matrix.platform }}
6363 steps :
64- - uses : actions/checkout@v2
65- - uses : golangci/golangci-lint-action@v2
64+ - uses : actions/checkout@v4
65+ - uses : actions/setup-go@v4
66+ with :
67+ go-version : " 1.21.x"
68+ cache : false
69+ - name : golangci-lint
70+ uses : golangci/golangci-lint-action@v3
6671 with :
6772 # must be specified without patch version
6873 version : v1.55
0 commit comments