Skip to content

build(deps): Bump actions/setup-go from 3 to 5 (#126) #241

build(deps): Bump actions/setup-go from 3 to 5 (#126)

build(deps): Bump actions/setup-go from 3 to 5 (#126) #241

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@v5
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