From 866e1aae06c35be82fae264ba8e810f86ff13992 Mon Sep 17 00:00:00 2001 From: Matthew Rothenberg Date: Sat, 25 Jun 2022 17:03:09 -0400 Subject: [PATCH] chore(build): update build toolchain to go1.18 --- .devcontainer/devcontainer.json | 8 ++++---- .github/workflows/release.yml | 2 +- .github/workflows/test-integration.yml | 4 ++-- .github/workflows/test-unit.yml | 2 +- go.mod | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index ee20906..397f6eb 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -4,7 +4,7 @@ "name": "Ruby", "build": { "dockerfile": "Dockerfile", - "args": { + "args": { // Update 'VARIANT' to pick a Ruby version: 3, 3.0, 2, 2.7, 2.6 // Append -bullseye or -buster to pin to an OS version. // Use -bullseye variants on local on arm64/Apple Silicon. @@ -24,7 +24,7 @@ "alexkrechik.cucumberautocomplete", "timonwong.shellcheck" ], - + // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], @@ -34,7 +34,7 @@ // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. "remoteUser": "vscode", "features": { - "golang": "1.17" + "golang": "1.18" } -} \ No newline at end of file +} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 45bccc8..18e6f76 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.17 + go-version: 1.18 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v3 with: diff --git a/.github/workflows/test-integration.yml b/.github/workflows/test-integration.yml index ddc2e46..31d08df 100644 --- a/.github/workflows/test-integration.yml +++ b/.github/workflows/test-integration.yml @@ -14,9 +14,9 @@ jobs: strategy: fail-fast: false matrix: - go-version: [1.17.x] + go-version: ["1.18"] os: [ubuntu-latest, macos-latest] - # NOTE: continue-on-error still marks test as failed in UI, see + # NOTE: continue-on-error still marks test as failed in UI, see # https://github.com/actions/toolkit/issues/399. Disabling expected # failing Windows integration test for now to avoid confusion. # diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.yml index 8b40f87..861f11e 100644 --- a/.github/workflows/test-unit.yml +++ b/.github/workflows/test-unit.yml @@ -11,7 +11,7 @@ jobs: test: strategy: matrix: - go-version: [1.17.x] + go-version: ["1.18"] platform: [ubuntu-latest, macos-latest, windows-latest] fail-fast: false runs-on: ${{ matrix.platform }} diff --git a/go.mod b/go.mod index e0acc5b..c7cea41 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/mroth/scmpuff -go 1.17 +go 1.18 require github.com/spf13/cobra v1.4.0