Skip to content

Merge tag 'v1.4.12' into release/bsc-1.x-fh2.5 #358

Merge tag 'v1.4.12' into release/bsc-1.x-fh2.5

Merge tag 'v1.4.12' into release/bsc-1.x-fh2.5 #358

Workflow file for this run

name: Unit Test
on:
push:
branches:
- "firehose-v*"
- "release/*"
pull_request:
branches:
- "firehose-v*"
- "release/*"
jobs:
unit-test:
strategy:
matrix:
go-version: [1.21.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
~/.cache/go-build
~/Library/Caches/go-build
~\AppData\Local\go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Unit Test
env:
CGO_CFLAGS: "-O -D__BLST_PORTABLE__"
CGO_CFLAGS_ALLOW: "-O -D__BLST_PORTABLE__"
ANDROID_HOME: "" # Skip android test
run: |
go mod download
make test