Skip to content

Add Ops Resolution to nativedex governance #253

Add Ops Resolution to nativedex governance

Add Ops Resolution to nativedex governance #253

Workflow file for this run

name: Go
on:
push:
branches:
- main
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 18.x ]
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.16
- name: Check out code
uses: actions/checkout@v2
- name: Build the Althea-L1 binary
run: make
lint:
name: Lint
runs-on: ubuntu-latest
needs: build
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.16
- name: Check out code
uses: actions/checkout@v2
- name: Install golangci-lint
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
- name: Run golangci-lint
run: golangci-lint run -c .golangci.yml --disable-all --timeout=30m && go mod verify
test:
name: Test
runs-on: ubuntu-latest
needs: build
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.16
- uses: actions/checkout@v2
- name: Test
run: go test ./... -mod=readonly -timeout 30m -coverprofile=profile.out -covermode=atomic -race