fix ci tests on windows: make clean before running test

This commit is contained in:
2025-02-12 14:04:40 +01:00
committed by T.v.Dein
parent 3949411c57
commit 74d82fa356
2 changed files with 2 additions and 4 deletions

View File

@@ -5,9 +5,7 @@ jobs:
strategy: strategy:
matrix: matrix:
version: ['1.22'] version: ['1.22']
# windows-latest removed, see: os: [ubuntu-latest, macos-latest, windows-latest]
# https://github.com/rogpeppe/go-internal/issues/284
os: [ubuntu-latest, macos-latest]
name: Build name: Build
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:

View File

@@ -64,7 +64,7 @@ install: buildlocal
clean: clean:
rm -rf $(tool) releases coverage.out rm -rf $(tool) releases coverage.out
test: test: clean
go test ./... $(OPTS) go test ./... $(OPTS)
singletest: singletest: