diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 7c417a0b..14e5627d 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -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: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8f560224..a66a750a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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: diff --git a/.github/workflows/system-test.yaml b/.github/workflows/system-test.yaml index 4e907e87..6d2cfd39 100644 --- a/.github/workflows/system-test.yaml +++ b/.github/workflows/system-test.yaml @@ -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