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