diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 3cf1128..bb807ce 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -70,11 +70,11 @@ jobs: run: echo "GO_VERSION=${{ steps.setup_go.outputs.go-version }}" >> $GITHUB_ENV - name: Set CGO_ENABLED=1 - if: ${{ matrix.cgo }} == "cgo" + if: matrix.cgo == 'cgo' run: echo "CGO_ENABLED=1" >> $GITHUB_ENV - name: Set CGO_ENABLED=0 - if: ${{ matrix.cgo }} == "nocgo" + if: matrix.cgo == 'nocgo' run: echo "CGO_ENABLED=0" >> $GITHUB_ENV - name: golangci-lint