From df46b3d1765bda542c30e1bb9453e132d8cf328c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20L=C3=B3pez=20Le=C3=B3n?= Date: Wed, 22 Jan 2025 10:14:28 -0300 Subject: [PATCH] .github/workflows: update GitHub Actions Artifacts to v4 --- .github/workflows/bench-core.yml | 9 +++++---- .github/workflows/bench-trie.yml | 8 ++++---- .github/workflows/bench-vm.yml | 8 ++++---- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/bench-core.yml b/.github/workflows/bench-core.yml index d1a2caf7b4..3d4713ca7a 100644 --- a/.github/workflows/bench-core.yml +++ b/.github/workflows/bench-core.yml @@ -24,7 +24,7 @@ jobs: run: | go test -short ./core -count 1 -p 1 -timeout 60m -run NONE -bench=. -v |& tee core-geth.txt - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: core-geth path: ./core-geth.txt @@ -51,7 +51,7 @@ jobs: run: | go test -short ./core -count 1 -p 1 -timeout 60m -run NONE -bench=. -v |& tee go-ethereum.txt - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: go-ethereum path: ./go-ethereum.txt @@ -75,12 +75,13 @@ jobs: run: | go install golang.org/x/perf/cmd/benchstat@latest - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 name: Get go-ethereum artifact with: name: go-ethereum - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v4 name: Get core-geth artifact with: name: core-geth diff --git a/.github/workflows/bench-trie.yml b/.github/workflows/bench-trie.yml index 0dbe989a47..7c789561ef 100644 --- a/.github/workflows/bench-trie.yml +++ b/.github/workflows/bench-trie.yml @@ -24,7 +24,7 @@ jobs: run: | go test -short ./trie -count 1 -p 1 -timeout 60m -run NONE -bench=. -v |& tee core-geth.txt - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: core-geth path: ./core-geth.txt @@ -51,7 +51,7 @@ jobs: run: | go test -short ./trie -count 1 -p 1 -timeout 60m -run NONE -bench=. -v |& tee go-ethereum.txt - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: go-ethereum path: ./go-ethereum.txt @@ -75,12 +75,12 @@ jobs: run: | go install golang.org/x/perf/cmd/benchstat@latest - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 name: Get go-ethereum artifact with: name: go-ethereum - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 name: Get core-geth artifact with: name: core-geth diff --git a/.github/workflows/bench-vm.yml b/.github/workflows/bench-vm.yml index 29c57e8aee..1b70296c26 100644 --- a/.github/workflows/bench-vm.yml +++ b/.github/workflows/bench-vm.yml @@ -26,7 +26,7 @@ jobs: run: | go test -short ./tests -count 1 -p 1 -timeout 60m -run NONE -bench=VM -v |& tee core-geth.txt - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: core-geth path: ./core-geth.txt @@ -57,7 +57,7 @@ jobs: git checkout $GITHUB_SHA -- tests/vm_bench_test.go go test -short ./tests -count 1 -p 1 -timeout 60m -run NONE -bench=VM -v |& tee go-ethereum.txt - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: go-ethereum path: ./go-ethereum.txt @@ -81,12 +81,12 @@ jobs: run: | go install golang.org/x/perf/cmd/benchstat@latest - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 name: Get go-ethereum artifact with: name: go-ethereum - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 name: Get core-geth artifact with: name: core-geth