Skip to content

feat: test unit example with tag + makefile update + github workflow … #3

feat: test unit example with tag + makefile update + github workflow …

feat: test unit example with tag + makefile update + github workflow … #3

Workflow file for this run

name: Go CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '1.26'
cache: true
- name: Install dependencies
run: go mod download
- name: Run tests with coverage
run: go test -v -coverprofile=coverage.out ./... -tags unit
- name: Show coverage
run: go tool cover -func=coverage.out