fix: Windows CI test failures and path normalization (#2670)

This commit is contained in:
Valentin Maerten
2026-03-28 10:39:13 +01:00
committed by GitHub
parent 2ddebca4e1
commit 6b436eda48
8 changed files with 129 additions and 46 deletions

View File

@@ -12,27 +12,19 @@ jobs:
test:
name: Test
strategy:
fail-fast: false
matrix:
go-version: [1.25.x, 1.26.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{matrix.platform}}
steps:
- name: Check out code
uses: actions/checkout@v6
- name: Set up Go ${{matrix.go-version}}
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
go-version: ${{matrix.go-version}}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Download Go modules
run: go mod download
env:
GOPROXY: https://proxy.golang.org
- name: Build
run: go build -o ./bin/task -v ./cmd/task
- name: Test
run: ./bin/task test --output=group --output-group-begin='::group::{{.TASK}}' --output-group-end='::endgroup::'
run: go run ./cmd/task test