From 25a175f2e09c06b01d3e6fac16feac8eba9df60a Mon Sep 17 00:00:00 2001 From: qmuntal Date: Sat, 20 Apr 2024 19:07:16 +0200 Subject: [PATCH] fix gh workflow --- .github/workflows/test.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3ae0f42..8831143 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,7 +5,7 @@ jobs: strategy: fail-fast: false matrix: - go-version: [1.18.x, 1.19.x, 1.20.x] + go-version: [1.20.x, 1.21.x, 1.22.x] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: @@ -15,12 +15,8 @@ jobs: go-version: ${{ matrix.go-version }} - name: Checkout code uses: actions/checkout@v2 - - name: Build Test - run: go test -c -covermode atomic -o ./draco.test . - working-directory: ./draco - name: Run Test - run: ./draco.test -test.coverprofile ../profile.cov - working-directory: ./draco + run: go test -covermode atomic -coverprofile profile.cov ./... - name: Send coverage uses: shogo82148/actions-goveralls@v1 with: