Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
Update github actions to use secret key
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-maj committed Aug 7, 2023
1 parent 222ff16 commit 350c58e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Build & Test
env:
SDK_ALCHEMY_KEY: ${{ secrets.SDK_ALCHEMY_KEY }}
THIRDWEB_SECRET_KEY: ${{ secrets.THIRDWEB_SECRET_KEY }}

on: [push, pull_request]
jobs:
Expand All @@ -19,7 +20,7 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}

- name: Use Node.js
uses: actions/setup-node@v1
with:
Expand All @@ -30,4 +31,3 @@ jobs:

- name: Test
run: yarn add hardhat && make test

2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ stop-docker:
docker rm hardhat-node

test: FORCE
@echo "SDK_ALCHEMY_KEY = $$SDK_ALCHEMY_KEY"
@echo "THIRDWEB_SECRET_KEY = $$THIRDWEB_SECRET_KEY"
docker build . -t hardhat-mainnet-fork
docker start hardhat-node || docker run --name hardhat-node -d -p 8545:8545 -e "THIRDWEB_SECRET_KEY=${THIRDWEB_SECRET_KEY}" -e "SDK_ALCHEMY_KEY=${SDK_ALCHEMY_KEY}" hardhat-mainnet-fork
sudo bash ./scripts/test/await-hardhat.sh
Expand Down

0 comments on commit 350c58e

Please sign in to comment.