diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index f947947d5bb..a1804d12d5d 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -66,7 +66,7 @@ jobs: - name: Set up Go uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 with: - go-version-file: .go-version + go-version: stable check-latest: true - name: Run lint action uses: ./.github/workflows/lint-action @@ -108,7 +108,7 @@ jobs: - name: Set up Go uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 with: - go-version-file: .go-version + go-version: stable check-latest: true - name: Run test action uses: ./.github/workflows/test-action diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index bb7d1c1f327..cd29671f598 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -28,7 +28,7 @@ jobs: - name: Set up Go uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 with: - go-version-file: .go-version + go-version: stable check-latest: true - uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3 - uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3 diff --git a/.github/workflows/prerelease-check.yml b/.github/workflows/prerelease-check.yml index 241dad834a7..b95852bf2c2 100644 --- a/.github/workflows/prerelease-check.yml +++ b/.github/workflows/prerelease-check.yml @@ -56,7 +56,7 @@ jobs: - name: Set up Go uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 with: - go-version-file: .go-version + go-version: stable check-latest: true - name: Run lint action uses: ./.github/workflows/lint-action @@ -99,7 +99,7 @@ jobs: - name: Set up Go uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 with: - go-version-file: .go-version + go-version: stable check-latest: true - name: Run test action uses: ./.github/workflows/test-action diff --git a/.github/workflows/semantic.yml b/.github/workflows/semantic.yml index e008e00ea94..99003e702e6 100644 --- a/.github/workflows/semantic.yml +++ b/.github/workflows/semantic.yml @@ -180,7 +180,7 @@ jobs: persist-credentials: false - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 with: - go-version-file: .go-version + go-version: stable cache: true - uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 diff --git a/.gitignore b/.gitignore index 928ebcee413..538c7fd9b7a 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /coverage.html *.tar *.pprof +.go-version diff --git a/.go-version b/.go-version deleted file mode 100644 index 2bf5ad0447d..00000000000 --- a/.go-version +++ /dev/null @@ -1 +0,0 @@ -stable