Skip to content

Commit

Permalink
Github Actions Tune
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtwinkle committed Jul 26, 2023
1 parent 7bd02bf commit d672680
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/test-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,18 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
go-version-file: ${{ env.testdir }}/go.mod

- name: Go Module Download
working-directory: ${{ env.testdir }}
- name: Cache Go modules
id: cache-go
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles("${{ env.testdir }}/go.sum") }}
restore-keys: |
${{ runner.os }}-go-
- name: Download Go modules
shell: bash
if: ${{ steps.setup-go.outputs.cache-hit != 'true' }}
if: ${{ steps.cache-go.outputs.cache-hit != 'true' }}
run: go mod download

- name: Setup Docker
Expand Down

0 comments on commit d672680

Please sign in to comment.