mirror of https://github.com/bjdgyc/anylink.git
Update go-update.yml
This commit is contained in:
parent
3408198d2d
commit
634c8c8145
|
@ -10,15 +10,15 @@ jobs:
|
|||
- name: Setup Go 1.x.y
|
||||
uses: actions/setup-go@main
|
||||
with:
|
||||
go-version: ^1.21
|
||||
go-version: ^1.20
|
||||
- name: Checkout codebase
|
||||
uses: actions/checkout@main
|
||||
|
||||
- name: go
|
||||
run: |
|
||||
cd ./server
|
||||
go mod tidy -compat=1.21
|
||||
gofmt -w -r 'interface{} -> any' .
|
||||
go mod tidy -compat=1.20
|
||||
#gofmt -w -r 'interface{} -> any' .
|
||||
go get -u
|
||||
go mod download
|
||||
go get -u
|
||||
|
|
Loading…
Reference in New Issue