Use go 1.20 (#122)
This commit is contained in:
parent
7f5fa57b93
commit
5ae4c20c70
|
@ -16,12 +16,12 @@ jobs:
|
|||
steps:
|
||||
|
||||
- name: Install flutter
|
||||
uses: subosito/flutter-action@v1
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
flutter-version: '3.3.5'
|
||||
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: flutter format
|
||||
run: $GITHUB_WORKSPACE/.github/workflows/flutterfmt.sh
|
||||
|
|
|
@ -15,14 +15,14 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Set up Go 1.16
|
||||
uses: actions/setup-go@v2
|
||||
- name: Set up Go 1.20
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.16
|
||||
go-version: "1.20"
|
||||
id: go
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install goimports
|
||||
working-directory: nebula
|
||||
|
@ -31,4 +31,4 @@ jobs:
|
|||
go build golang.org/x/tools/cmd/goimports
|
||||
|
||||
- name: gofmt
|
||||
run: $GITHUB_WORKSPACE/.github/workflows/gofmt.sh
|
||||
run: $GITHUB_WORKSPACE/.github/workflows/gofmt.sh
|
||||
|
|
|
@ -11,10 +11,10 @@ jobs:
|
|||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- name: Set up Go 1.19.1
|
||||
uses: actions/setup-go@v2
|
||||
- name: Set up Go 1.20
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.19.1
|
||||
go-version: "1.20"
|
||||
|
||||
- uses: actions/setup-java@v2
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue