Skip to content

feat: add check command #31

feat: add check command

feat: add check command #31

Workflow file for this run

name: Test Branch
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 'stable'
- uses: gotesttools/gotestfmt-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: golangci/golangci-lint-action@v3
with:
version: latest
- run: make test
- run: make test.demo
- uses: coverallsapp/github-action@v2
with:
file: coverage.out