Skip to content

Merge pull request #1 from nao1215/nchika/first-pr #3

Merge pull request #1 from nao1215/nchika/first-pr

Merge pull request #1 from nao1215/nchika/first-pr #3

Workflow file for this run

name: Coverage
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
unit_test:
name: Unit test (linux)
strategy:
matrix:
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1"
check-latest: true
- name: Run tests with coverage report output
run: go test -cover -coverpkg=./... -coverprofile=coverage.out ./...
- uses: k1LoW/octocov-action@v1