feat: updated to version v1.0.0 #2
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: Unit Testing | |
on: | |
push: | |
branches: [main] | |
paths: | |
- "**.go" | |
- "go.mod" | |
- "go.sum" | |
pull_request: | |
branches: [main] | |
paths: | |
- "**.go" | |
- "go.mod" | |
- "go.sum" | |
jobs: | |
unit: | |
name: Go Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Run Unit Tests | |
run: | | |
go test -v ./... |