Skip to content

chore: refactor config module tests #135

chore: refactor config module tests

chore: refactor config module tests #135

Workflow file for this run

name: Test
on:
push:
paths:
- "cmd/**"
- "pkg/**"
- ".github/workflows/test.yml"
jobs:
test_bif:
name: Unit test
runs-on: ubuntu-latest
env:
TEST_NODE_URL: '${{ secrets.TEST_NODE_URL }}'
TEST_TIMELOCK_ADDRESS: '${{ secrets.TEST_TIMELOCK_ADDRESS }}'
TEST_PROXY_ADDRESS: '${{ secrets.TEST_PROXY_ADDRESS }}'
TEST_PRIVATE_KEY: '${{ secrets.TEST_PRIVATE_KEY }}'
steps:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: smartcontractkit/tool-versions-to-env-action@aabd5efbaf28005284e846c5cf3a02f2cba2f4c2 # v1.0.8
id: tool-versions
- name: Setup go ${{ steps.tool-versions.outputs.golang_version }}
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: ${{ steps.tool-versions.outputs.golang_version }}
- name: Test
run: make test