Skip to content

Commit

Permalink
Change workflow to use git install (aws#1785)
Browse files Browse the repository at this point in the history
- Change workflow to use git install as the go get command was
  altering go.mod file without updating go.sum file
  • Loading branch information
vikasmb authored Dec 9, 2021
1 parent 0165438 commit f32af68
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cron-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:

- name: Get dependencies
run: |
go get -u golang.org/x/lint/golint
go get -u golang.org/x/tools/cmd/goimports
go install golang.org/x/lint/golint
go install golang.org/x/tools/cmd/goimports
- name: Run e2e tests
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/forked-pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:

- name: Get dependencies
run: |
go get -u golang.org/x/lint/golint
go get -u golang.org/x/tools/cmd/goimports
go install golang.org/x/lint/golint
go install golang.org/x/tools/cmd/goimports
- name: Clean up stale docker images
run: sudo docker image prune -f
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:

- name: Get dependencies
run: |
go get -u golang.org/x/lint/golint
go get -u golang.org/x/tools/cmd/goimports
go install golang.org/x/lint/golint
go install golang.org/x/tools/cmd/goimports
- name: Clean up stale docker images
run: sudo docker image prune -f
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/weekly-cron-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:

- name: Get dependencies
run: |
go get -u golang.org/x/lint/golint
go get -u golang.org/x/tools/cmd/goimports
go install golang.org/x/lint/golint
go install golang.org/x/tools/cmd/goimports
- name: Run perf tests
env:
Expand Down

0 comments on commit f32af68

Please sign in to comment.