Skip to content

Ci/commitlint

Ci/commitlint #7

Workflow file for this run

name: test
on:
pull_request:
push:
branches:
- "main"
jobs:
test:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.18'
check-latest: true
- run: make test
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Test & publish code coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: make test-coverage
coverageLocations: ${{github.workspace}}/c.out:gocov
prefix: github.com/commander-cli/cmd