Add build stage to CI pipeline.

This commit is contained in:
Louis Thibault 2024-01-31 16:20:46 -05:00
parent 36bbcd8089
commit 5ddbd1a901

View file

@ -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