From f01cc39cc6fdcf147a956d24600091604fa80ffb Mon Sep 17 00:00:00 2001 From: Julie Qiu Date: Mon, 19 Aug 2024 10:26:23 -0400 Subject: [PATCH] chore: upgrade to go1.23 (#1533) Fixes #1502 --- .github/workflows/assets.yaml | 4 ++-- .github/workflows/ci.yaml | 10 +++++----- go.mod | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/assets.yaml b/.github/workflows/assets.yaml index 720f43553..463fe9231 100644 --- a/.github/workflows/assets.yaml +++ b/.github/workflows/assets.yaml @@ -42,7 +42,7 @@ jobs: steps: - uses: actions/setup-go@v5 with: - go-version: '1.19.2' + go-version: '1.23' - uses: actions/checkout@v4 - name: Init submodule run: git submodule init && git submodule update @@ -95,7 +95,7 @@ jobs: fi - uses: actions/setup-go@v5 with: - go-version: '1.19.2' + go-version: '1.23' - name: Install gox run: go install github.com/mitchellh/gox@latest - uses: actions/checkout@v4 diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f3282b119..230bdb174 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/setup-go@v5 with: - go-version: '1.19.2' + go-version: '1.23' - name: Install Protoc uses: arduino/setup-protoc@v1 - name: Install external generators @@ -50,7 +50,7 @@ jobs: steps: - uses: actions/setup-go@v5 with: - go-version: '1.19.2' + go-version: '1.23' - name: Install golint run: go install golang.org/x/lint/golint@latest - uses: actions/checkout@v4 @@ -89,7 +89,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.19.2' + go-version: '1.23' - uses: actions/download-artifact@v4 if: needs.regenerate.outputs.modified_files with: @@ -112,7 +112,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.19.2' + go-version: '1.23' - uses: actions/download-artifact@v4 if: needs.regenerate.outputs.modified_files with: @@ -190,7 +190,7 @@ jobs: rm regen.tgz - uses: googleapis/code-suggester@v4 env: - ACCESS_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }} + ACCESS_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }} with: command: pr upstream_owner: googleapis diff --git a/go.mod b/go.mod index 69e6ad47b..28ef8d6d1 100644 --- a/go.mod +++ b/go.mod @@ -67,4 +67,4 @@ require ( gopkg.in/yaml.v3 v3.0.1 // indirect ) -go 1.19 +go 1.23