Skip to content

fix: windows support for path loading #28

fix: windows support for path loading

fix: windows support for path loading #28

Workflow file for this run

name: Verify
on: [push, pull_request]
jobs:
lint:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: golangci/golangci-lint-action@v3
with:
version: latest
only-new-issues: true
build:
runs-on: ${{ matrix.os }}
needs: [lint]
strategy:
matrix:
# No Windows this time. Some tests expect Unix-style paths.
os: [ ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19
cache: true
- name: Install Tools
run: go install gotest.tools/gotestsum@latest
- name: Test
run: gotestsum -- -race -timeout=20m -coverprofile=coverage_txt -covermode=atomic ./...
- uses: codecov/codecov-action@v3
with:
files: coverage_txt