Skip to content

feat: print warnings before confirm with slogger #15564

feat: print warnings before confirm with slogger

feat: print warnings before confirm with slogger #15564

Workflow file for this run

name: Test Unit Tests
on:
pull_request:
paths-ignore:
- "**.md"
- "**.jpg"
- "**.png"
- "**.gif"
- "**.svg"
- "adr/**"
- "docs/**"
- "CODEOWNERS"
merge_group:
paths-ignore:
- "**.md"
- "**.jpg"
- "**.png"
- "**.gif"
- "**.svg"
- "adr/**"
- "docs/**"
- "CODEOWNERS"
push:
# Running unit tests on main gives codecov a base to compare PRs against
branches:
- main
permissions:
contents: read
# Abort prior jobs in the same workflow / PR
concurrency:
group: unit-${{ github.ref }}
cancel-in-progress: true
jobs:
validate-unit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup golang
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version-file: go.mod
- name: Run unit tests
run: make test-unit
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@7f8b4b4bde536c465e797be725718b88c5d95e0e # v5.1.1
with:
token: ${{ secrets.CODECOV_TOKEN }}