diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e51e5582bb..507eddd95c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,9 +14,9 @@ jobs: uses: actions/checkout@v6.0.3 - name: Install Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: - go-version: 1.21.x + go-version-file: go.mod cache: false diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index d42305180f..f4cc317b23 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -18,9 +18,9 @@ jobs: uses: actions/checkout@v6.0.3 - name: Install Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: - go-version: 1.19 + go-version-file: go.mod - name: Get Go environment id: go-env