Skip to content

Commit

Permalink
udpate
Browse files Browse the repository at this point in the history
  • Loading branch information
iGoogle-ink committed Jun 2, 2024
1 parent 06f0157 commit 5965fba
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.18
go-version: '1.20'

- name: Setup golangci-lint
uses: golangci/golangci-lint-action@v3.4.0
uses: golangci/golangci-lint-action@v6
with:
version: v1.51.2
version: v1.58
args: --verbose --skip=unused # Add --skip=unused flag

test:
Expand All @@ -36,15 +36,13 @@ jobs:
go: [ '1.18', '1.19', '1.20' ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}

- name: Checkout Code
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}

- name: Test
run: go test -v

0 comments on commit 5965fba

Please sign in to comment.