Skip to content

Merge pull request #94 from Songmu/tagpr-from-v0.20.14 #233

Merge pull request #94 from Songmu/tagpr-from-v0.20.14

Merge pull request #94 from Songmu/tagpr-from-v0.20.14 #233

Workflow file for this run

name: test
on:
pull_request:
branches:
- "**"
push:
branches:
- "main"
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macOS-latest
- windows-latest
steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
if: "matrix.os == 'windows-latest'"
- name: checkout
uses: actions/checkout@v4
- name: setup go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
- run: make assets-test
if: "matrix.os == 'ubuntu-latest'"
- name: test
run: go test -race -coverprofile coverage.out -covermode atomic
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1