diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 3aa36a0a91b..3a442712fca 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -44,7 +44,7 @@ jobs: key: go-test-binaries-${{ matrix.run.arch }}-${{ hashFiles('**/go.sum') }}-${{ hashFiles('test') }} - run: scripts/github-actions-packages - run: make all test-binaries - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: test-binaries-${{ matrix.run.arch }} path: | @@ -90,7 +90,7 @@ jobs: ~/go/pkg/mod key: go-critest-${{ matrix.run.arch }}-${{ hashFiles('**/go.sum') }}-${{ hashFiles('scripts/versions') }} - uses: sigstore/cosign-installer@v3 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: test-binaries-${{ matrix.run.arch }} - name: Fix artifact permissions diff --git a/.github/workflows/osff.yml b/.github/workflows/osff.yml index adb59d140e7..9927ab213a1 100644 --- a/.github/workflows/osff.yml +++ b/.github/workflows/osff.yml @@ -55,7 +55,7 @@ jobs: # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF # format to the repository Actions tab. - name: "Upload artifact" - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: SARIF file path: results.sarif diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c60f3ea9066..55307fbdfd1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,19 +24,19 @@ jobs: - run: bin/crio version - run: make bin/crio.cross.linux.amd64 - run: bin/crio.cross.linux.amd64 version - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: build path: | bin/crio - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: docs path: | docs/crio.8 docs/crio.conf.5 docs/crio.conf.d.5 - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: config path: crio.conf @@ -56,7 +56,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: build path: bin @@ -70,7 +70,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: build path: bin @@ -84,7 +84,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: build path: bin @@ -105,7 +105,7 @@ jobs: pushFilter: cri-o - run: nix-build nix - run: result/bin/crio version - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: build-static-amd64 path: | @@ -126,7 +126,7 @@ jobs: pushFilter: cri-o - run: nix-build nix/default-arm64.nix - run: file result/bin/crio | grep aarch64 - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: build-static-arm64 path: | @@ -147,7 +147,7 @@ jobs: pushFilter: cri-o - run: nix-build nix/default-ppc64le.nix - run: file result/bin/crio | grep PowerPC - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: build-static-ppc64le path: | @@ -162,15 +162,15 @@ jobs: - build-static-arm64 - build-static-ppc64le steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: build-static-amd64 path: ${{ github.sha }}/amd64 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: build-static-arm64 path: ${{ github.sha }}/arm64 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: build-static-ppc64le path: ${{ github.sha }}/ppc64le @@ -200,7 +200,7 @@ jobs: - release-notes steps: - uses: actions/checkout@v4 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: release-notes path: build/release-notes @@ -249,9 +249,9 @@ jobs: run: | sudo PATH="$PATH" GOCACHE="$(go env GOCACHE)" GOMODCACHE="$(go env GOMODCACHE)" make testunit sudo chown -R $(id -u):$(id -g) "$(go env GOCACHE)" "$(go env GOMODCACHE)" - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: - name: unit + name: unit-${{ matrix.run.arch }} path: build/coverage coverage: @@ -261,9 +261,9 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: - name: unit + name: unit-amd64 path: build/coverage - run: make codecov @@ -288,7 +288,7 @@ jobs: - run: make release-notes env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: release-notes path: build/release-notes @@ -311,7 +311,7 @@ jobs: - run: make dependencies env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: dependencies path: build/dependencies