Skip to content

fix: add fmt misspell linters #321

fix: add fmt misspell linters

fix: add fmt misspell linters #321

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: 1.21
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: |
go get -a ./...
- name: Build
run: go build -v ./...
- name: Get test dependencies
run: |
go get -t ./...
- name: Test
run: make test/unit
- name: Run vet & lint
run: make test/lint
- name: Go report
run: curl -X POST -F "repo=github.com/${{github.repository}}" https://goreportcard.com/checks
- name: Calc coverage
run: |
go test -v -covermode=count -coverprofile=coverage.out ./...
- name: Convert coverage.out to coverage.lcov
uses: jandelgado/[email protected]
- name: Coveralls
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.github_token }}
path-to-lcov: coverage.lcov