Skip to content

feature/service-validation #118

feature/service-validation

feature/service-validation #118

Workflow file for this run

name: go test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go environment
uses: actions/setup-go@v4
with:
go-version: '1.23'
- name: Run tests with coverage
run: go test -v -race -covermode atomic -coverprofile=covprofile -coverpkg ./... ./...
- name: Install goveralls
run: go install github.com/mattn/goveralls@latest
- name: Send coverage report
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=covprofile -service=github