Skip to content

Commit

Permalink
ci: download mods ahead of running test
Browse files Browse the repository at this point in the history
This just keeps the module download output out of the `go test` output
to keep the CI view a little cleaner.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
  • Loading branch information
cpuguy83 committed Jun 4, 2024
1 parent 43dd416 commit e944694
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ jobs:
# So we need to setup a custom builder.
- name: Set up builder
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0
- name: download deps
run: go mod download
- name: Run integaration tests
run: go test -v -json ./test | go run ./cmd/test2json2gha
- name: dump logs
Expand All @@ -112,6 +114,8 @@ jobs:
with:
go-version: '1.21'
cache: false
- name: download deps
run: go mod download
- name: Run unit tests
run: go test -v --test.short --json ./... | go run ./cmd/test2json2gha

Expand Down

0 comments on commit e944694

Please sign in to comment.