Skip to content

Merge pull request #53 from YutaroHayakawa/renovate/github.com-go-pla… #165

Merge pull request #53 from YutaroHayakawa/renovate/github.com-go-pla…

Merge pull request #53 from YutaroHayakawa/renovate/github.com-go-pla… #165

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
- name: Run tests
run: |
go test -v -exec "sudo" -coverpkg=./... -coverprofile=coverage.out ./...
go tool cover -html=coverage.out -o coverage.html
- name: Upload coverage report
uses: actions/upload-artifact@v4
with:
name: coverage.html
path: coverage.html
compression-level: 0