refactor the node setup function parameters #470
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: Mixin Test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
run: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ['ubuntu-latest', 'macos-latest'] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.21 | |
- name: Build Mixin | |
run: | | |
go build -o mixin . | |
- name: Testing | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
working-directory: . | |
run: | | |
ELECTION=false INPUT=10 go test ./... -v |