Skip to content

feat(blockManager): refactor and use state as single source of truth … #1423

feat(blockManager): refactor and use state as single source of truth …

feat(blockManager): refactor and use state as single source of truth … #1423

Workflow file for this run

name: Build and Test
on:
push:
tags:
- v*
branches:
- "main"
pull_request:
jobs:
build:
runs-on: ubuntu-latest
env:
GOPRIVATE: "github.com/dymensionxyz/*"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.22.1
- run: git config --global url.https://[email protected]/.insteadOf https://github.com/
- name: Build
run: go build -v ./...
- name: Test & Coverage
run: |
go install github.com/ory/[email protected]
go-acc -o coverage.txt ./... -- -v --race
- uses: codecov/codecov-action@v3
with:
file: ./coverage.txt