Fix: retry create TUN on Windows

This commit is contained in:
yaling888
2022-03-20 21:22:23 +08:00
parent bac04ab54b
commit 2c0890854e
4 changed files with 16 additions and 15 deletions

View File

@ -13,15 +13,10 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
#with:
# go-version: ${{ steps.version.outputs.go_version }}
with:
go-version: 1.18.x
go-version: ${{ steps.version.outputs.go_version }}
- name: golangci-lint
#uses: golangci/golangci-lint-action@v3
#with:
# version: latest
run: |
go install github.com/golangci/golangci-lint/cmd/golangci-lint@ec95236
golangci-lint run ./...
uses: golangci/golangci-lint-action@v3
with:
version: latest

View File

@ -11,10 +11,8 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
#with:
# go-version: ${{ steps.version.outputs.go_version }}
with:
go-version: 1.18.x
go-version: ${{ steps.version.outputs.go_version }}
- name: Check out code into the Go module directory
uses: actions/checkout@v3