From 917df9fc1fa6f317f8a612abf6d79fe1885d05de Mon Sep 17 00:00:00 2001 From: Jacques Nadeau Date: Sun, 28 Jul 2024 18:52:05 -1000 Subject: [PATCH] try alternative if syntax --- .github/workflows/dev.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 3a8049b..f9c5183 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -29,13 +29,13 @@ jobs: - name: Build run: go build ./... - name: Run Tests - if: ${{ runner.os != 'Linux' }} + if: runner.os != 'Linux' run: go test -v ./... - name: Run Tests with Coverage - if: ${{ runner.os == 'Linux' }} + if: runner.os == 'Linux' run: go test -v -coverprofile=coverage.out ./... - name: Upload coverage to Codecov - if: ${{ runner.os == 'Linux' }} && github.repository == 'substrait-io/substrait-go' + if: runner.os == 'Linux' && github.repository == 'substrait-io/substrait-go' uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }}