[release-1.27] OCPBUGS-63771: Fix CVE-2025-58183: Update tar-split to v0.12.2 #17256
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: verify | |
| on: | |
| workflow_dispatch: | |
| push: | |
| tags: | |
| - v* | |
| branches: | |
| - main | |
| - release-* | |
| pull_request: | |
| env: | |
| GO_VERSION: '1.20' | |
| GOLANGCI_LINT_VERSION: v1.53.2 | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| permissions: | |
| contents: read # for actions/checkout to fetch code | |
| pull-requests: read # for golangci/golangci-lint-action to fetch pull requests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v4 | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| - run: scripts/github-actions-packages | |
| - uses: golangci/golangci-lint-action@v3 | |
| with: | |
| version: ${{ env.GOLANGCI_LINT_VERSION }} | |
| shellcheck: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: lumaxis/shellcheck-problem-matchers@v2 | |
| - run: make shellcheck | |
| shfmt: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v4 | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| - run: make shfmt | |
| docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v4 | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| - run: scripts/github-actions-packages | |
| - run: make docs-validation | |
| vendor: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v4 | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| - uses: actions/cache@v3 | |
| with: | |
| path: ~/go/pkg/mod | |
| key: go-${{ hashFiles('**/go.sum') }} | |
| restore-keys: go- | |
| - run: make check-vendor | |
| log-capitalization: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v4 | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| - uses: actions/cache@v3 | |
| with: | |
| path: ~/go/pkg/mod | |
| key: go-${{ hashFiles('**/go.sum') }} | |
| restore-keys: go- | |
| - run: make check-log-lines | |
| verify-config-template: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v4 | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| - uses: actions/cache@v3 | |
| with: | |
| path: ~/go/pkg/mod | |
| key: go-${{ hashFiles('**/go.sum') }} | |
| restore-keys: go- | |
| - run: make check-config-template | |
| get-script: | |
| if: ${{ github.base_ref == 'main' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: sudo scripts/get | |
| - run: crio version | |
| get-script-with-verification: | |
| if: ${{ github.base_ref == 'main' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v4 | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| - uses: actions/cache@v3 | |
| with: | |
| path: | | |
| ~/go/pkg/mod | |
| ~/.cache/go-build | |
| key: go-get-script-${{ hashFiles('**/go.sum') }} | |
| restore-keys: go-get-script- | |
| - uses: sigstore/cosign-installer@v3 | |
| - run: | | |
| make get-script | |
| hack/tree_status.sh | |
| - run: | | |
| make bom | |
| sudo cp build/bin/bom /usr/bin | |
| - run: sudo -E PATH=$PATH scripts/get | |
| - run: crio version | |
| dependencies: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v4 | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| - uses: actions/cache@v3 | |
| with: | |
| path: ~/go/pkg/mod | |
| key: go-verify-dependencies-${{ hashFiles('**/go.sum') }} | |
| restore-keys: go-verify-dependencies- | |
| - run: make verify-dependencies |