Skip to content

Merge pull request #43 from isd-sgcu/dev #63

Merge pull request #43 from isd-sgcu/dev

Merge pull request #43 from isd-sgcu/dev #63

Workflow file for this run

name: Unit Tests
on:
workflow_dispatch:
pull_request:
branches:
- main
- dev
push:
branches:
- main
- dev
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.22
- name: Download dependencies
run: go mod download
- name: Vet
run: |
go vet ./...
- name: Test
run: |
go test -v -coverpkg ./internal/... -coverprofile coverage.out -covermode count ./internal/...
go tool cover -func="./coverage.out"