Skip to content

Commit

Permalink
update golang to 1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
lihezhong93 committed Aug 16, 2023
1 parent 65013be commit 66e60ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2.1.4
with:
go-version: 1.16.3
go-version: 1.18
- uses: actions/cache@v2
with:
path: ~/go/pkg/mod
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ on:
jobs:

build:
name: ubuntu - Go v1.16
name: ubuntu - Go v1.18
runs-on: ubuntu-latest

steps:

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.16'
go-version: '1.18'
id: go

- name: Check out code into the Go module directory
Expand All @@ -31,7 +31,7 @@ jobs:
path: src/github.com/alibaba/open-local

- name: Install go ci lint
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.39.0
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.47.3

- name: Run Linter
run: golangci-lint run -v --timeout=10m
Expand Down

0 comments on commit 66e60ef

Please sign in to comment.