ci: expose secrets to env

This commit is contained in:
Mohamed Sohail 2022-05-08 14:06:44 +03:00
parent 8b8b55d25c
commit 42d474ae80
Signed by: kamikazechaser
GPG Key ID: 7DD45520C01CD85D

View File

@ -14,6 +14,10 @@ jobs:
go-version: 1.18
- uses: actions/checkout@v2
- name: go test
env:
TOKEN_INDEX: ${{ secrets.TOKEN_INDEX }}
RPC_PROVIDER: ${{ secrets.RPC_PROVIDER }}
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
run: go test -v -covermode atomic -coverprofile=covprofile ./...
- name: install goveralls
run: go install github.com/mattn/goveralls@latest