Skip to content

build(deps): bump the all group with 2 updates #40

build(deps): bump the all group with 2 updates

build(deps): bump the all group with 2 updates #40

Workflow file for this run

name: "Unit Tests"
on:
push:
branches:
- latest
pull_request:
branches:
- latest
jobs:
test:
runs-on: ubuntu-latest
name: Go unit tests
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Install libxml2-utils for xmllint
run: sudo apt-get install libxml2-utils
- name: Setup go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: ./go.mod
- name: Set up gotestfmt
uses: gotesttools/gotestfmt-action@8b4478c7019be847373babde9300210e7de34bfb # v2.2.0
- run: make unittest
env:
EXTRA_TEST_FLAGS: -covermode=atomic -coverprofile=coverage.out
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c # v4.4.1
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}