Skip to content

build(deps): Bump google-github-actions/release-please-action from 3.… #238

build(deps): Bump google-github-actions/release-please-action from 3.…

build(deps): Bump google-github-actions/release-please-action from 3.… #238

Workflow file for this run

name: Go test
on:
push:
tags:
- v*
branches:
- main
pull_request:
types: [opened, reopened, synchronize]
jobs:
test:
name: Go Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/setup-go@v3
with:
go-version-file: "go.mod"
- name: Run unit tests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./hack/mage test:gounit
- name: Install goveralls
run: go install github.com/mattn/goveralls@latest
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=.reports/coverage.txt -service=github