feat: DAO SDK #226
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: gno.land | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
main: | |
name: Run Main | |
uses: ./.github/workflows/main_template.yml | |
with: | |
modulepath: "gno.land" | |
tests-extra-args: "-coverpkg=github.com/gnolang/gno/gno.land/..." | |
secrets: | |
codecov-token: ${{ secrets.CODECOV_TOKEN }} | |
gnoweb_generate: | |
strategy: | |
fail-fast: false | |
matrix: | |
go-version: ["1.22.x"] | |
# unittests: TODO: matrix with contracts | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: lts/Jod # (22.x) https://github.com/nodejs/Release | |
- uses: actions/checkout@v4 | |
- run: | | |
make -C gno.land/pkg/gnoweb fclean generate | |
# Check if there are changes after running generate.gnoweb | |
git diff --exit-code || \ | |
(echo "\`gnoweb generate\` out of date, please run \`make gnoweb.generate\` within './gno.land'" && exit 1) |