diff --git a/.github/workflows/go-build.yaml b/.github/workflows/go-build.yaml index 9837f52b..525b3e7b 100644 --- a/.github/workflows/go-build.yaml +++ b/.github/workflows/go-build.yaml @@ -31,13 +31,13 @@ jobs: steps: - name: Set up Go ${{ matrix.go-version }} - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ matrix.go-version }} id: go - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - id: go_mod uses: andstor/file-existence-action@v1 diff --git a/.github/workflows/go-test.yaml b/.github/workflows/go-test.yaml index 2dd319ef..ef544e66 100644 --- a/.github/workflows/go-test.yaml +++ b/.github/workflows/go-test.yaml @@ -28,13 +28,13 @@ jobs: steps: - name: Set up Go 1.17 - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: 1.17.x id: go - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 @@ -67,4 +67,4 @@ jobs: - if: steps.codecov-enabled.outputs.files_exists == 'true' name: Codecov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v2 diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index ec5d20f3..7f5bbda6 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -9,7 +9,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - id: get_yamls run: | yamls=$(find . -name "*.yaml") diff --git a/.github/workflows/releasability.yaml b/.github/workflows/releasability.yaml index ca4c4cd2..b12f291d 100644 --- a/.github/workflows/releasability.yaml +++ b/.github/workflows/releasability.yaml @@ -61,7 +61,7 @@ jobs: fi - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: 1.17.x @@ -69,7 +69,7 @@ jobs: run: go install knative.dev/test-infra/buoy@main - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Exists id: exists diff --git a/.github/workflows/release-notes.yaml b/.github/workflows/release-notes.yaml index 576ed111..b5fdc3ad 100644 --- a/.github/workflows/release-notes.yaml +++ b/.github/workflows/release-notes.yaml @@ -37,7 +37,7 @@ jobs: steps: - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: 1.17.x @@ -46,7 +46,7 @@ jobs: run: go install k8s.io/release/cmd/release-notes@latest - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: # fetch-depth of 0 indicates all history for all branches and tags. fetch-depth: 0 @@ -96,7 +96,7 @@ jobs: cat release-notes.md - name: Archive Release Notes - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: release-notes.md path: release-notes.md diff --git a/.github/workflows/security.yaml b/.github/workflows/security.yaml index 61e4c80a..165a92f4 100644 --- a/.github/workflows/security.yaml +++ b/.github/workflows/security.yaml @@ -24,7 +24,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. @@ -32,15 +32,15 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: go - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v2 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2 - name: Find Unicode Control Characters uses: pierdipi/unicode-control-characters-action@v0.1.1 diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index 70b61890..b33eb79c 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -21,7 +21,7 @@ jobs: stale: runs-on: 'ubuntu-latest' steps: - - uses: 'actions/stale@v3' + - uses: 'actions/stale@v5' with: repo-token: '${{ secrets.GITHUB_TOKEN }}' # No need to setup diff --git a/.github/workflows/style.yaml b/.github/workflows/style.yaml index 7987b6f0..a3e65c7b 100644 --- a/.github/workflows/style.yaml +++ b/.github/workflows/style.yaml @@ -37,13 +37,13 @@ jobs: steps: - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: 1.17.x id: go - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install Dependencies if: ${{ matrix.package != '' }} @@ -86,13 +86,13 @@ jobs: steps: - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: 1.17.x id: go - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - id: golangci_configuration uses: andstor/file-existence-action@v1 @@ -100,7 +100,7 @@ jobs: files: .golangci.yaml - name: Go Lint if: steps.golangci_configuration.outputs.files_exists == 'true' - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v3 with: version: v1.43 @@ -265,7 +265,7 @@ jobs: steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Do Not Submit shell: bash @@ -316,13 +316,13 @@ jobs: steps: - name: Set up Go 1.17.x - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: 1.17.x id: go - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install Tools run: | diff --git a/.github/workflows/verify-codegen.yaml b/.github/workflows/verify-codegen.yaml index 7cc8d934..2134280b 100644 --- a/.github/workflows/verify-codegen.yaml +++ b/.github/workflows/verify-codegen.yaml @@ -30,7 +30,7 @@ jobs: steps: - name: Set up Go ${{ matrix.go-version }} - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ matrix.go-version }} id: go @@ -41,7 +41,7 @@ jobs: go install github.com/google/go-licenses@latest - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Update Codegen shell: bash