diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index 54a423d..45b2da4 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v3 - run: sed -En 's/^go[[:space:]]+([[:digit:].]+)$/GO_VERSION=\1/p' go.mod >> $GITHUB_ENV - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - uses: actions/cache@v2 @@ -33,7 +33,7 @@ jobs: steps: - uses: actions/checkout@v3 - run: sed -En 's/^go[[:space:]]+([[:digit:].]+)$/GO_VERSION=\1/p' go.mod >> $GITHUB_ENV - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - uses: actions/cache@v2 @@ -60,7 +60,7 @@ jobs: - name: Fetch all tags run: git fetch --force --tags - run: sed -En 's/^go[[:space:]]+([[:digit:].]+)$/GO_VERSION=\1/p' go.mod >> $GITHUB_ENV - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - uses: actions/cache@v2 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 34f8469..024c9f8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,7 +22,7 @@ jobs: git fetch --force --tags - run: sed -En 's/^go[[:space:]]+([[:digit:].]+)$/GO_VERSION=\1/p' go.mod >> $GITHUB_ENV - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - uses: actions/cache@v2