diff --git a/.github/workflows/reusable-unit.yml b/.github/workflows/reusable-unit.yml index 2c05477398f8..ec8562dd70dd 100644 --- a/.github/workflows/reusable-unit.yml +++ b/.github/workflows/reusable-unit.yml @@ -63,12 +63,12 @@ jobs: if: ${{ endsWith(inputs.repository-name, '-enterprise') }} run: git config --global url."https://${{ secrets.elevated-github-token }}:@github.com".insteadOf "https://github.com" - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 - if: ${{ inputs.go-version != "" }} + if: ${{ inputs.go-version != '' }} with: go-version-file: ${{ inputs.go-version }} cache: true - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 - if: ${{ inputs.go-version == "" }} + if: ${{ inputs.go-version == '' }} with: go-version-file: 'go.mod' cache: true