From 5ae4c20c7020817dcb1d0ed7307268710d6bd204 Mon Sep 17 00:00:00 2001 From: Nate Brown Date: Fri, 12 May 2023 12:42:58 -0500 Subject: [PATCH] Use go 1.20 (#122) --- .github/workflows/flutterfmt.yml | 4 ++-- .github/workflows/gofmt.yml | 10 +++++----- .github/workflows/release.yml | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/flutterfmt.yml b/.github/workflows/flutterfmt.yml index 794f2e1..1b56cec 100644 --- a/.github/workflows/flutterfmt.yml +++ b/.github/workflows/flutterfmt.yml @@ -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 diff --git a/.github/workflows/gofmt.yml b/.github/workflows/gofmt.yml index a17ee0d..8216cfd 100644 --- a/.github/workflows/gofmt.yml +++ b/.github/workflows/gofmt.yml @@ -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 \ No newline at end of file + run: $GITHUB_WORKSPACE/.github/workflows/gofmt.sh diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b4acf73..e4b4d17 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: