chore: bump ci/cd to 1.23 GO version

This commit is contained in:
Jan Rundshagen 2025-01-05 12:23:23 +01:00 committed by Jan O. Rundshagen
parent 5319d725df
commit bfee111e7d
4 changed files with 11 additions and 11 deletions

View file

@ -20,7 +20,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: 1.22.x go-version: 1.23.x
- name: Build tplprev - name: Build tplprev
run: scripts/build-tplprev.sh run: scripts/build-tplprev.sh
- name: Setup python - name: Setup python

View file

@ -18,7 +18,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: 1.22.x go-version: 1.23.x
- uses: dominikh/staticcheck-action@fe1dd0c3658873b46f8c9bb3291096a617310ca6 # v1.3.1 - uses: dominikh/staticcheck-action@fe1dd0c3658873b46f8c9bb3291096a617310ca6 # v1.3.1
with: with:
version: "2023.1.6" version: "2023.1.6"
@ -29,7 +29,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
go-version: go-version:
- 1.22.x - 1.23.x
platform: platform:
- macos-latest - macos-latest
- windows-latest - windows-latest
@ -43,7 +43,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: 1.22.x go-version: 1.23.x
- name: Run tests - name: Run tests
run: | run: |
go test -v -coverprofile coverage.out -covermode atomic ./... go test -v -coverprofile coverage.out -covermode atomic ./...
@ -62,7 +62,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: 1.22.x go-version: 1.23.x
- name: Build - name: Build
uses: goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf # v6 uses: goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf # v6
with: with:

View file

@ -16,7 +16,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: 1.22.x go-version: 1.23.x
- name: Build - name: Build
run: ./build.sh run: ./build.sh
test: test:
@ -26,7 +26,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: 1.22.x go-version: 1.23.x
- name: Test - name: Test
run: go test -v -coverprofile coverage.out -covermode atomic ./... run: go test -v -coverprofile coverage.out -covermode atomic ./...
- name: Publish coverage - name: Publish coverage

View file

@ -19,7 +19,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: 1.22.x go-version: 1.23.x
- uses: dominikh/staticcheck-action@fe1dd0c3658873b46f8c9bb3291096a617310ca6 # v1.3.1 - uses: dominikh/staticcheck-action@fe1dd0c3658873b46f8c9bb3291096a617310ca6 # v1.3.1
with: with:
version: "latest" version: "latest"
@ -30,7 +30,7 @@ jobs:
strategy: strategy:
matrix: matrix:
go-version: go-version:
- 1.22.x - 1.23.x
platform: platform:
- ubuntu-latest - ubuntu-latest
- macos-latest - macos-latest
@ -44,7 +44,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: 1.22.x go-version: 1.23.x
- name: Run tests - name: Run tests
run: | run: |
go test ./... -coverprofile coverage.out go test ./... -coverprofile coverage.out
@ -66,7 +66,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: 1.22.x go-version: 1.23.x
- name: Login to Docker Hub - name: Login to Docker Hub
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3 uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3
with: with: