Skip to content

upd golangci-lint rules #726

upd golangci-lint rules

upd golangci-lint rules #726

Workflow file for this run

name: Go Quality
on: [ push, pull_request ]
jobs:
test:
name: Test with Coverage
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: '1.21'
- name: Check out code
uses: actions/checkout@v2
- name: Run Unit tests
# now with that option we can get cover from all project
run: |
go test -race -covermode=atomic -coverprofile=profile.cov -coverpkg=github.com/s7techlab/hlf-sdk-go/... ./client/...
- name: Send coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov