Enforce stricter type checking and improve error handling for parameter values #540
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: golang-pipeline | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- run: git fetch --force --tags | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '>=1.19.5' | |
cache: true | |
- | |
name: Run unit tests | |
run: go test ./... |