feat: impl join_wager and get_wager_participants(#62) #134
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: CONTRACT | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- staging | |
pull_request: | |
permissions: read-all | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: asdf-vm/actions/install@v3 | |
- run: scarb fmt --check | |
working-directory: contracts | |
- run: scarb build | |
working-directory: contracts | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: asdf-vm/actions/install@v3 | |
- run: snforge test | |
working-directory: contracts |