fix: set global default log level to error #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Tests | |
on: | |
workflow_dispatch: | |
push: | |
branches: main | |
pull_request: | |
branches: main | |
permissions: {} | |
jobs: | |
build: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
# Full git history is needed to get a proper list of changed | |
# files within `super-linter` | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
- name: Go Build | |
run: CGO_ENABLED=0 go build -v -trimpath -ldflags '-w -s' ./main.go | |
- name: Go test | |
uses: robherley/go-test-action@v0 |