Skip to content

fix: remove import cycles #11486

fix: remove import cycles

fix: remove import cycles #11486

Workflow file for this run

name: gno.land
on:
push:
branches:
- master
pull_request:
paths:
- gno.land/**
# We trigger the testing workflow for gno.land on the following,
# since there are integration suites that cover the gnovm / tm2
- gnovm/**
- tm2/**
workflow_dispatch:
jobs:
main:
name: Run gno.land suite
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)