Skip to content

Commit

Permalink
Merge pull request #654 from diega/github_action_update
Browse files Browse the repository at this point in the history
Update GitHub Actions Artifacts to v4
  • Loading branch information
diega authored Jan 23, 2025
2 parents 4e004c6 + df46b3d commit 4185df4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/bench-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/bench-trie.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/bench-vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 4185df4

Please sign in to comment.