Merge pull request #276 from nao1215/dependabot/go_modules/examples/e… #648
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: Run tests with coverage report output | |
run: go test -cover -coverpkg=./... -coverprofile=coverage.out ./... | |
- uses: k1LoW/octocov-action@v1 |