Skip to content

Merge branch 'main' of github.com:flare-foundation/flare-p-chain-indexer #67

Merge branch 'main' of github.com:flare-foundation/flare-p-chain-indexer

Merge branch 'main' of github.com:flare-foundation/flare-p-chain-indexer #67

Workflow file for this run

name: Go Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.18"
- name: Download modules
run: go mod download
- name: gofmt check
run: ./gofmt-check.sh
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: latest
args: --timeout 5m0s
- name: Build executables
run: go build ./...
- name: Run unit-tests
run: go test -v ./...