💩 refactor

This commit is contained in:
naiba
2023-10-27 13:16:55 +08:00
parent d678f530c8
commit 76402e127f
7 changed files with 25 additions and 15 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
container:
image: goreleaser/goreleaser-cross:v1.20
image: goreleaser/goreleaser-cross:v1.21
steps:
- run: |
git config --global --add safe.directory /__w/agent/agent
@@ -18,7 +18,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version: "^1.20.0"
go-version: "^1.21.3"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
+2 -2
View File
@@ -10,10 +10,10 @@ jobs:
env:
GO111MODULE: on
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "^1.20.0"
go-version: "^1.21.3"
- name: Unit test
run: |
go test -v ./...
+2 -2
View File
@@ -16,10 +16,10 @@ jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "^1.20.0"
go-version: "^1.21.3"
- name: Unit test
run: |
go test -v ./...