Add v0.4.1 release date #82
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: | |
push: | |
branches: | |
- develop | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
unit: | |
concurrency: | |
group: unit-${{ github.ref }}-${{ matrix.os }}-${{ matrix.go-version }} | |
cancel-in-progress: true | |
strategy: | |
matrix: | |
go-version: [1.19.x, 1.20.x] | |
os: [ubuntu, windows, macOS] | |
env: | |
OS: ${{ matrix.os }}-latest | |
GO: ${{ matrix.go-version }} | |
runs-on: ${{ matrix.os }}-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
cache: true | |
- name: Test | |
run: go test -coverpkg=./internal/... -race -vet=off -count=1 -coverprofile unit.txt -covermode atomic ./... | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
file: ./unit.txt | |
flags: unit,${{ matrix.os }},go-${{ matrix.go-version }} | |
name: unit |