From 71d34479fad87ec48d340989d983dd47a4ffe87b Mon Sep 17 00:00:00 2001 From: Masaaki Goshima Date: Mon, 11 Jan 2021 01:28:24 +0900 Subject: [PATCH] Fix workflow --- .github/workflows/go.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 12ce8af..09b7db6 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -5,7 +5,7 @@ jobs: name: Test strategy: matrix: - os: [ "ubuntu-latest", "macos-latest" ] + os: [ "ubuntu-latest", "macos-latest", "windows-latest" ] go-version: [ "1.13", "1.14", "1.15" ] runs-on: ${{ matrix.os }} steps: @@ -15,16 +15,6 @@ jobs: go-version: ${{ matrix.go-version }} - name: checkout uses: actions/checkout@v2 - - uses: actions/cache@v2 - with: - path: | - ~/go/pkg/mod - ~/.cache/go-build - ~/Library/Caches/go-build - '%LocalAppData%\go-build' - key: ${{ matrix.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ matrix.os }}-go- - name: simple test run: go test -v ./ -count=1 - name: test with GC pressure @@ -32,6 +22,7 @@ jobs: env: GOGC: 1 - name: test with race detector + if: ${{ matrix.os == 'macos-latest' }} run: go test -v -race ./ -count=1 coverage: name: Coverage