Skip to content

Refactor tx-builder/covenant #109

Refactor tx-builder/covenant

Refactor tx-builder/covenant #109

Workflow file for this run

name: ci_unit
on:
push:
paths:
- "asp/**"
branches: [master]
pull_request:
branches:
- master
paths:
- "asp/**"
jobs:
test:
name: unit tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./asp
steps:
- uses: actions/setup-go@v3
with:
go-version: ">1.17.2"
- uses: actions/checkout@v3
- name: check linting
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
working-directory: ./asp
- name: check code integrity
uses: securego/gosec@master
with:
args: '-severity high -quiet ./...'
- uses: bufbuild/[email protected]
- name: check proto linting
run: buf lint
- run: go get -v -t -d ./...
- name: unit testing
run: make test