Add -v flag to 'go test' so each TestXxx line is printed in CI logs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
28 lines
427 B
YAML
28 lines
427 B
YAML
name: Unit Tests
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- dev
|
|
|
|
jobs:
|
|
unit-test:
|
|
name: Unit Tests
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: '1.25.x'
|
|
|
|
- name: Run Unit Tests
|
|
run: go test -v ./...
|
|
|
|
- name: Vet
|
|
run: go vet ./...
|