mirror of
https://github.com/lunchcat/sif.git
synced 2026-03-12 21:23:04 -07:00
chore: bump setup-go to v6, drop go 1.23 from CI matrix
go.mod requires >= 1.24.2 so the 1.23 matrix entry was already dead. setup-go v6 sets GOTOOLCHAIN=local which makes it fail explicitly.
This commit is contained in:
7
.github/workflows/go.yml
vendored
7
.github/workflows/go.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- name: set up go
|
- name: set up go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
go-version: "1.24"
|
go-version: "1.24"
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
@@ -31,11 +31,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version: ["1.23", "1.24"]
|
go-version: ["1.24"]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- name: set up go
|
- name: set up go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go-version }}
|
go-version: ${{ matrix.go-version }}
|
||||||
- name: build
|
- name: build
|
||||||
@@ -43,7 +43,6 @@ jobs:
|
|||||||
- name: run tests with coverage
|
- name: run tests with coverage
|
||||||
run: go test -race -coverprofile=coverage.out -covermode=atomic ./...
|
run: go test -race -coverprofile=coverage.out -covermode=atomic ./...
|
||||||
- name: upload coverage to codecov
|
- name: upload coverage to codecov
|
||||||
if: matrix.go-version == '1.24'
|
|
||||||
uses: codecov/codecov-action@v5
|
uses: codecov/codecov-action@v5
|
||||||
with:
|
with:
|
||||||
files: ./coverage.out
|
files: ./coverage.out
|
||||||
|
|||||||
Reference in New Issue
Block a user