fix: windows support for path loading #28
Workflow file for this run
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: 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 | |