Skip to content

Commit 1c60465

Browse files
committed
use GHA token, cache Seth suite
1 parent 8def361 commit 1c60465

File tree

4 files changed

+3
-59
lines changed

4 files changed

+3
-59
lines changed

.github/workflows/framework.yml

Lines changed: 0 additions & 56 deletions
This file was deleted.

.github/workflows/seth-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ jobs:
8181
run: go mod download
8282
- uses: extractions/setup-just@v2
8383
with:
84+
github-token: ${{ secrets.GITHUB_TOKEN }}
8485
just-version: '1.39.0'
8586
- name: Run tests
8687
run: |

.github/workflows/test.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,8 @@ jobs:
7979
working-directory: ${{ matrix.test.path }}
8080
run: go mod download
8181
- uses: extractions/setup-just@v2
82-
env:
83-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8482
with:
83+
github-token: ${{ secrets.GITHUB_TOKEN }}
8584
just-version: '1.39.0'
8685
- name: Run tests
8786
run: |

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ seth-Geth:
8888
# Seth: run Seth tests, example: just seth-test Anvil http://localhost:8545 "TestAPI"
8989
seth-test network url test_regex:
9090
@just seth-{{network}}
91-
cd seth && SETH_URL={{url}} SETH_NETWORK={{network}} SETH_ROOT_PRIVATE_KEY=ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 go test -v -count 1 -race `go list ./... | grep -v examples` -run "{{test_regex}}" || pkill -f {{network}}
91+
cd seth && SETH_URL={{url}} SETH_NETWORK={{network}} SETH_ROOT_PRIVATE_KEY=ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 go test -v -race `go list ./... | grep -v examples` -run "{{test_regex}}" || pkill -f {{network}}
9292

9393
# Run pre-commit hooks, build, lint, tidy, check typos
9494
pre-commit:

0 commit comments

Comments
 (0)