Skip to content

Commit

Permalink
setup-go caching in CLI build (viamrobotics#2980)
Browse files Browse the repository at this point in the history
  • Loading branch information
abe-winter committed Sep 25, 2023
1 parent 3b76fb9 commit 7d633dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit 7d633dd

Please sign in to comment.