feat: add poll-based logic to event listener #138
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: 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 |