From 56d7e4d5e93cc2aa85f7948a0094677a81fecb96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Thu, 15 Aug 2024 16:04:14 -0700 Subject: [PATCH] build: update GitHub Actions to Go 1.23 --- .github/workflows/build_binaries.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/linters.yml | 4 ++-- .github/workflows/tests.yml | 4 ++-- packaging/debian/Dockerfile | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_binaries.yml b/.github/workflows/build_binaries.yml index c742676f..7de6e733 100644 --- a/.github/workflows/build_binaries.yml +++ b/.github/workflows/build_binaries.yml @@ -12,7 +12,7 @@ jobs: - name: Set up Golang uses: actions/setup-go@v5 with: - go-version: "1.22.x" + go-version: "1.23.x" check-latest: true - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 0a56d4c6..f9df2dd0 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -31,7 +31,7 @@ jobs: - uses: actions/setup-go@v5 with: - go-version: "1.22.x" + go-version: "1.23.x" - name: Initialize CodeQL uses: github/codeql-action/init@v3 diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 6e550b43..d5ecac7f 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -28,12 +28,12 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.22.x" + go-version: "1.23.x" - run: "go vet ./..." - uses: golangci/golangci-lint-action@v6 with: args: --timeout 10m --skip-dirs tests --disable errcheck --enable sqlclosecheck --enable misspell --enable gofmt --enable goimports --enable whitespace --enable gocritic - uses: dominikh/staticcheck-action@v1.3.1 with: - version: "2023.1.7" + version: "2024.1.1" install-go: false diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index edc4995b..ff6d16da 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,7 +15,7 @@ jobs: max-parallel: 4 matrix: os: [ubuntu-latest, windows-latest, macOS-latest] - go-version: ["1.22.x"] + go-version: ["1.23.x"] steps: - name: Set up Go uses: actions/setup-go@v5 @@ -43,7 +43,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: "1.22.x" + go-version: "1.23.x" - name: Checkout uses: actions/checkout@v4 - name: Install Postgres client diff --git a/packaging/debian/Dockerfile b/packaging/debian/Dockerfile index 3a6fccce..eea82ec7 100644 --- a/packaging/debian/Dockerfile +++ b/packaging/debian/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/golang:1.22-bookworm AS build +FROM docker.io/golang:1.23-bookworm AS build ENV DEBIAN_FRONTEND=noninteractive