Skip to content

[Issue-323] Adds support for timestamps for kp build log #40

[Issue-323] Adds support for timestamps for kp build log

[Issue-323] Adds support for timestamps for kp build log #40

Workflow file for this run

name: unit test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
- name: Check docs up to date
run: |
set -euo pipefail
go run cmd/docs/main.go
if [[ `git status --porcelain` ]]; then
echo "Docs are not up-to-date"
exit 1
fi
- name: Test
run: go test -v ./pkg/...