From a7830b58a6e594e0137ae2a06bcde477f95727ff Mon Sep 17 00:00:00 2001 From: Francisco Moura Date: Thu, 29 Aug 2024 15:50:26 -0300 Subject: [PATCH] WIP --- .github/workflows/build.yml | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 013e94ea3..0d5d2f7fd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -66,10 +66,6 @@ jobs: do-basic-checks: runs-on: ubuntu-22.04 - container: - image: ghcr.io/cartesi/rollups-node-ci:${{needs.build-ci-base.outputs.output}} - needs: - - build-ci-base steps: - uses: actions/checkout@v4 with: @@ -89,9 +85,6 @@ jobs: path: ./ config: .github/license-check/config.json - - name: Check auto generated files - run: make check-generate - - name: Lint Markdown docs uses: DavidAnson/markdownlint-cli2-action@v16 with: @@ -99,6 +92,31 @@ jobs: *.md docs/*.md + check-generated-files: + runs-on: ubuntu-22.04 + container: + image: ghcr.io/cartesi/rollups-node-ci:${{needs.build-ci-base.outputs.output}} + needs: + - build-ci-base + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + fetch-depth: 0 + ref: ${{ github.event.pull_request.head.sha }} + + - name: Fix VCS Issue + run : git config --global --add safe.directory /__w/rollups-node/rollups-node + + - name: Install Go + uses: actions/setup-go@v5 + with: + go-version-file: 'go.mod' + + - name: Check auto generated files + run: make check-generate + + test-rust: runs-on: ubuntu-22.04 env: