From 38edbd209ea6e5fe6a3343b3c9dd8ce40d824fd3 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 | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 013e94ea3..da6392570 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,28 @@ 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: 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: