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