Skip to content

Commit 8fe95ed

Browse files
committed
ci: fix env access, add cron
1 parent 4ee35b2 commit 8fe95ed

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches: [ master ]
66
pull_request:
77
branches: [ master ]
8+
schedule:
9+
- cron: "42 6 * * 0"
810

911
jobs:
1012
build:
@@ -18,6 +20,8 @@ jobs:
1820
go-version: "1.x"
1921

2022
- name: Test
23+
env:
24+
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
2125
run: go test -v -coverprofile=coverage.txt -covermode=count ./...
2226

2327
- name: Codecov

0 commit comments

Comments
 (0)