Skip to content

Beacon sidecar

Beacon sidecar #87

Workflow file for this run

name: Run unit tests on Linux
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
env:
CGO_CFLAGS_ALLOW: "-O -D__BLST_PORTABLE__"
CGO_CFLAGS: "-O -D__BLST_PORTABLE__"
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.21.x', '1.22.x']
# goarch: [amd64, arm64]
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
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