mirror of
https://github.com/int128/kubelogin.git
synced 2026-05-20 06:42:45 +00:00
Use go-version-file (#1142)
This commit is contained in:
8
.github/workflows/go.yaml
vendored
8
.github/workflows/go.yaml
vendored
@@ -22,9 +22,10 @@ on:
|
||||
|
||||
jobs:
|
||||
check:
|
||||
uses: int128/go-workflows/.github/workflows/check.yaml@v0.3.0
|
||||
uses: int128/go-workflows/.github/workflows/check.yaml@v0.4.0
|
||||
with:
|
||||
go-version: 1.23.1
|
||||
go-version-file: go.mod
|
||||
cache-dependency-path: go.sum
|
||||
golangci-lint-version: v1.61.0
|
||||
|
||||
test:
|
||||
@@ -34,7 +35,8 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.23.1
|
||||
go-version-file: go.mod
|
||||
cache-dependency-path: go.sum
|
||||
- run: go test -v -race ./...
|
||||
|
||||
generate:
|
||||
|
||||
3
.github/workflows/release.yaml
vendored
3
.github/workflows/release.yaml
vendored
@@ -57,7 +57,8 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.23.1
|
||||
go-version-file: go.mod
|
||||
cache-dependency-path: go.sum
|
||||
- run: go build -ldflags '-X main.version=${{ github.ref_name }}'
|
||||
- uses: int128/go-release-action@v2
|
||||
with:
|
||||
|
||||
3
.github/workflows/system-test.yaml
vendored
3
.github/workflows/system-test.yaml
vendored
@@ -25,7 +25,8 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.23.1
|
||||
go-version-file: go.mod
|
||||
cache-dependency-path: go.sum
|
||||
|
||||
# for certutil
|
||||
# https://packages.ubuntu.com/xenial/libnss3-tools
|
||||
|
||||
Reference in New Issue
Block a user