Update GitHub Actions to Go 1.12

This commit is contained in:
Frédéric Guillot 2024-02-17 11:22:02 -08:00
parent 5c97771e61
commit c0bca973d6
3 changed files with 4 additions and 4 deletions

View file

@ -12,7 +12,7 @@ jobs:
- name: Set up Golang
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.22"
- name: Checkout
uses: actions/checkout@v4
- name: Compile binaries

View file

@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.22"
- uses: golangci/golangci-lint-action@v4
with:
args: --timeout 10m --skip-dirs tests --disable errcheck --enable sqlclosecheck --enable misspell --enable gofmt --enable goimports --enable whitespace

View file

@ -15,7 +15,7 @@ jobs:
max-parallel: 4
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
go-version: ["1.21"]
go-version: ["1.22"]
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.21"
go-version: "1.22"
- name: Checkout
uses: actions/checkout@v4
- name: Install Postgres client