1
0
Fork 0

build: update GitHub Actions to Go 1.23

This commit is contained in:
Frédéric Guillot 2024-08-15 16:04:14 -07:00
parent cc94ab704a
commit 56d7e4d5e9
5 changed files with 7 additions and 7 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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