feat: register extra information during build (#390) #59
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 test | |
on: | |
# Trigger the workflow on push or pull request, | |
# but only for the master branch | |
push: | |
paths-ignore: | |
- '**.md' | |
- '**.png' | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
- '**.png' | |
jobs: | |
run: | |
name: go test on windows | |
strategy: | |
matrix: | |
go-version: [1.22.x] | |
runs-on: windows-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go-version }} | |
# This step checks out a copy of your repository. | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Go test | |
env: | |
GOVERSION: ${{ matrix.go-version }} | |
run: | | |
go test -p 1 .\pkg\... |