diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index 5f3d30f829d..a191da52606 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -20,10 +20,6 @@ jobs: viam-cli: runs-on: ubuntu-latest steps: - - uses: actions/setup-go@v4 - with: - go-version: '1.20.x' - - name: Check out code if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' uses: actions/checkout@v3 @@ -33,6 +29,10 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} + - uses: actions/setup-go@v4 + with: + go-version: '1.20.x' + - name: build env: CI_RELEASE: ${{ inputs.release_type }}