From 7d633ddebb34e79ce54cfaaf842d0ed27870714d Mon Sep 17 00:00:00 2001 From: abe-winter Date: Mon, 25 Sep 2023 15:32:30 -0400 Subject: [PATCH] setup-go caching in CLI build (#2980) --- .github/workflows/cli.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 }}