Skip to content

Commit

Permalink
upgrade go version
Browse files Browse the repository at this point in the history
  • Loading branch information
chengxiangdong committed Aug 21, 2024
1 parent 7d35c73 commit f1e50ac
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.x
go-version: 1.20.x
- name: Checkout code
uses: actions/checkout@v3
- name: Check vendors
Expand All @@ -34,7 +34,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.x
go-version: 1.20.x
- name: compile
run: make all
test:
Expand All @@ -47,7 +47,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.x
go-version: 1.20.x
- name: make test
run: make test
e2e:
Expand All @@ -66,7 +66,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.x
go-version: 1.20.x
- name: run e2e
run: |
export ARTIFACTS_PATH=${{ github.workspace }}/e2e-logs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/swr-latest-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.x
go-version: 1.20.x
- name: build images
env:
REGISTRY: ${{secrets.SWR_REGISTRY}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/swr-released-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v3
with:
go-version: 1.19.x
go-version: 1.20.x
- name: build images
env:
REGISTRY: ${{secrets.SWR_REGISTRY}}
Expand Down
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ run:
# on Windows.
skip-dirs:
- pkg/apigw
- vendor

# default is true. Enables skipping of directories:
# vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
Expand Down Expand Up @@ -47,3 +48,5 @@ issues:
include:
# There are too many issues about comments from golint, fix them in future.
#- EXC0002 # disable excluding of issues about comments from golint
exclude-dirs:
- vendor

0 comments on commit f1e50ac

Please sign in to comment.