From 5ddbd1a901a78383a4e78c56171092d2ee53546d Mon Sep 17 00:00:00 2001 From: Louis Thibault Date: Wed, 31 Jan 2024 16:20:46 -0500 Subject: [PATCH] Add build stage to CI pipeline. --- .github/workflows/checks.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index dced6220e3..df20ea3876 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -26,3 +26,19 @@ jobs: go-version: ${{ matrix.go-version }} - name: Run unit tests run: go test -short ./accounts ./cmd/geth ./core ./core/types ./core/vm ./eth/... ./internal/ethapi/... ./miner ./params ./suave/... + + build: + name: Build + runs-on: ubuntu-latest + steps: + - name: Set up Go 1.x + uses: actions/setup-go@v3 + with: + go-version: ^1.21 + id: go + + - name: Check out code into the Go module directory + uses: actions/checkout@v2 + + - name: Build + run: make geth