Skip to content

Introduce nao1215/actions-go-cover-treemap #59

Introduce nao1215/actions-go-cover-treemap

Introduce nao1215/actions-go-cover-treemap #59

Workflow file for this run

name: LinuxUnitTest
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: Download dependencies
run: go mod download
- uses: nao1215/actions-hottest@v1
with:
args: '-cover -coverpkg=./... -coverprofile=coverage.out ./...'
- uses: nao1215/actions-go-cover-treemap@v0
with:
coverage-file: coverage.out
- uses: k1LoW/octocov-action@v0