utils: Wrap fetchJSON error #77
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Run Tests" | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
check: | |
name: "Project Tests" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v22 | |
- name: Cache | |
uses: actions/cache@v3 | |
with: | |
key: api-result-cache | |
path: ./.cache | |
- name: Run tests | |
run: nix develop -c sh -c "make test" | |
env: | |
ONLINE: 1 | |
INFURA_API_KEY: ${{ secrets.INFURA_API_KEY }} | |
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }} |