From 35deb52c81b16ce706ec8601b85c589b7d483503 Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Wed, 7 Feb 2024 07:10:43 -0800 Subject: [PATCH] Go 1.22 (#270) https://go.dev/blog/go1.22 --- .devcontainer/devcontainer.json | 2 +- .github/workflows/ci.yml | 4 ++-- .github/workflows/release.yml | 2 +- .github/workflows/smoke.yml | 2 +- go.mod | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 48a5203..d1b8e11 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,6 +1,6 @@ { "name": "Dependabot CLI", - "image": "mcr.microsoft.com/devcontainers/go:1.21", + "image": "mcr.microsoft.com/devcontainers/go:1.22", "features": { "ghcr.io/devcontainers/features/docker-in-docker": "latest" }, diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 453b440..5bd7a6d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.21 + go-version: 1.22 - name: Build run: go build -v ./... @@ -33,7 +33,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.21 + go-version: 1.22 - name: Run go vet run: go vet ./... diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f98c673..c55dc3c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v4 - uses: wangyoucao577/go-release-action@v1.46 with: - goversion: 1.21.0 # needs the patch specified + goversion: 1.22.0 # needs the patch specified github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} diff --git a/.github/workflows/smoke.yml b/.github/workflows/smoke.yml index abc9a5d..4f0dd94 100644 --- a/.github/workflows/smoke.yml +++ b/.github/workflows/smoke.yml @@ -32,7 +32,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.21 + go-version: 1.22 # Download the Proxy cache. The job is ideally 100% cached so no real calls are made. - name: Download cache diff --git a/go.mod b/go.mod index 928fd41..579ce90 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/dependabot/cli -go 1.21 +go 1.22 require ( github.com/MakeNowJust/heredoc v1.0.0