diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 235b1497..1bb69cd7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: - uses: actions/checkout@v5 - uses: actions/setup-go@v5 with: - go-version: "1.25.x" + go-version-file: go.mod cache: false - name: golangci-lint uses: golangci/golangci-lint-action@v8 @@ -52,7 +52,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.25.x" + go-version-file: go.mod - name: License scanning run: | go install github.com/google/go-licenses@latest @@ -75,7 +75,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.25.x" + go-version-file: go.mod - name: Run GoReleaser uses: goreleaser/goreleaser-action@v5 with: @@ -96,7 +96,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.25.x" + go-version-file: go.mod - name: Run tests run: go test -v ./... @@ -117,7 +117,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: "1.25.x" + go-version-file: go.mod - name: Log in to the Container registry uses: docker/login-action@v3 if: github.event_name != 'pull_request' diff --git a/go.mod b/go.mod index 0c44b8e7..c554565c 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/stackvista/stackstate-cli -go 1.25.0 +go 1.25.13 replace github.com/spf13/pflag => github.com/stackvista/pflag v1.22.0 diff --git a/mise.toml b/mise.toml index 2d1e9dd5..a725686c 100644 --- a/mise.toml +++ b/mise.toml @@ -1,5 +1,5 @@ [tools] -go = "1.26.2" +go = "1.26.6" golangci-lint = "2.11.3" pre-commit = "4.5.1" yq = "4.52.4"