From 1a7f976fb0e37bd4f32629dbf9db913f15c6967e Mon Sep 17 00:00:00 2001 From: Marco Vito Moscaritolo Date: Sat, 14 Oct 2023 12:39:48 +0200 Subject: [PATCH] chore: use go 1.21 and force CI to use the last available version --- .github/workflows/main.yml | 6 ++++-- .github/workflows/release-controller.yml | 3 ++- go.mod | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 39440b1..1391846 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,8 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version: '1.21' + check-latest: true - name: Test run: go test -v ./... @@ -37,7 +38,8 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version: '1.21' + check-latest: true - name: Set up QEMU uses: docker/setup-qemu-action@v3 diff --git a/.github/workflows/release-controller.yml b/.github/workflows/release-controller.yml index b7b455e..e92833c 100644 --- a/.github/workflows/release-controller.yml +++ b/.github/workflows/release-controller.yml @@ -18,7 +18,8 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version: '1.21' + check-latest: true - name: Set up QEMU uses: docker/setup-qemu-action@v3 diff --git a/go.mod b/go.mod index c108643..b9da9d0 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/caddyserver/ingress -go 1.18 +go 1.21 require ( github.com/caddyserver/caddy/v2 v2.7.5