Skip to content

Commit

Permalink
move go mod after cache for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
claire-labry committed Oct 3, 2022
1 parent 6b06366 commit a1abc4b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/go-getter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ jobs:
- name: Create test directory
run: |
mkdir -p ${{ env.TEST_RESULTS_PATH }}
- name: Download go modules
run: go mod download

- name: Setup cache for go modules
uses: actions/cache@v3
with:
Expand All @@ -44,6 +41,9 @@ jobs:
restore-keys: |
${{ runner.os }}-go-
- name: Download go modules
run: go mod download

# Check go fmt output because it does not report non-zero when there are fmt changes
- name: Run gofmt
run: |
Expand Down

0 comments on commit a1abc4b

Please sign in to comment.