From 2c2a9f2a0090dae4d8271e7d59fc5485a7a00b72 Mon Sep 17 00:00:00 2001 From: Reuben Miller Date: Sun, 19 May 2024 19:58:16 +0200 Subject: [PATCH] chore: upgrade golang to 1.22 --- .devcontainer/Dockerfile | 2 +- .github/workflows/main.yml | 12 ++++++------ .github/workflows/publish-linux-packages.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index f2c34b9f0..6b4737588 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -3,7 +3,7 @@ # Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information. #------------------------------------------------------------------------------------------------------------- -FROM golang:1.21 +FROM golang:1.22 # Avoid warnings by switching to noninteractive ENV DEBIAN_FRONTEND=noninteractive diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0a5b11a94..6dec4a272 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,10 +21,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Go 1.21 + - name: Set up Go 1.22 uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version: "1.22" - name: Use Node.js uses: actions/setup-node@v4 with: @@ -96,10 +96,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Go 1.21 + - name: Set up Go 1.22 uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version: "1.22" - name: Install Task uses: arduino/setup-task@v2 @@ -147,10 +147,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Go 1.21 + - name: Set up Go 1.22 uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version: "1.22" - name: Install Task uses: arduino/setup-task@v2 diff --git a/.github/workflows/publish-linux-packages.yml b/.github/workflows/publish-linux-packages.yml index acd5de960..8e08dcd1d 100644 --- a/.github/workflows/publish-linux-packages.yml +++ b/.github/workflows/publish-linux-packages.yml @@ -33,10 +33,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Go 1.21 + - name: Set up Go 1.22 uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version: "1.22" - name: install tooling run: go install golang.org/x/tools/cmd/goimports@latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 035c50c37..5fb7a0dbe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,10 +15,10 @@ jobs: with: fetch-depth: 0 - - name: Set up Go 1.21 + - name: Set up Go 1.22 uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version: "1.22" - name: Set up QEMU uses: docker/setup-qemu-action@v3