Repository navigation
test(futarchy): settle gated-DAO proposals through gated_invoke (#495) #1747
This file contains hidden or 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: anchor-test | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| - production | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| env: | |
| HUSKY: 0 | |
| jobs: | |
| run-anchor-test: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.18.0' | |
| cache: 'yarn' | |
| cache-dependency-path: sdk/yarn.lock | |
| - name: Install SDK dependencies | |
| run: | | |
| cd sdk | |
| yarn install | |
| - name: Build SDK | |
| run: | | |
| cd sdk | |
| yarn build | |
| - uses: ./.github/actions/anchor-test | |
| with: | |
| anchor-version: '0.29.0' | |
| solana-cli-version: '1.17.31' | |
| node-version: '20.18.0' | |