From 917f2f591141bdb84def2fdea16219a8dcce7538 Mon Sep 17 00:00:00 2001 From: Austin Vazquez Date: Thu, 10 Aug 2023 02:44:10 +0000 Subject: [PATCH] chore: add Go 1.21 support to CI Signed-off-by: Austin Vazquez --- .github/workflows/ci.yaml | 4 ++-- Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2e063f0..9a426b2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,13 +24,13 @@ jobs: # Pin the version in case all the builds start to fail at the same time. # There may not be an automatic way (e.g., dependabot) to update a specific parameter of a GitHub Action, # so we will just update it manually whenever it makes sense (e.g., a feature that we want is added). - version: v1.53.3 + version: v1.54.0 args: --fix=false --timeout=5m build: strategy: fail-fast: false matrix: - go: [ '1.17', '1.18', '1.19', '1.20' ] + go: [ '1.17', '1.18', '1.19', '1.20', '1.21' ] os: [ 'ubuntu-22.04', 'windows-2022' ] name: ${{ matrix.os }} / Go ${{ matrix.go }} diff --git a/Makefile b/Makefile index 7d454d5..b6f628e 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,7 @@ mdlint-ctr: .get-deps-stamp: GO111MODULE=off GOBIN=$(DEPSPATH) go get golang.org/x/tools/cmd/goimports GOBIN=$(DEPSPATH) go get github.com/golang/mock/mockgen@v1.4.1 - curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(DEPSPATH) v1.53.3 + curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(DEPSPATH) v1.54.0 $(DEPSPATH)/golangci-lint --version touch .get-deps-stamp