chore: use non-deprecated version_template
in goreleaser config
#1187
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: Test - Unit | |
on: | |
push: | |
permissions: | |
contents: read | |
jobs: | |
test_go: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Test | |
run: | | |
go mod download | |
go test --race --count=1 --coverprofile cover.out -v ./... |