Skip to content

Rename function arguments #34

Rename function arguments

Rename function arguments #34

Workflow file for this run

name: build
on:
push:
branches:
- main
paths:
- '**.go'
pull_request:
branches:
- main
paths:
- '**.go'
jobs:
build:
name: Test with coverage
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Run tests
run: go test -covermode=count -coverprofile=profile.cov -coverpkg=./... ./...
- name: Send coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov