Skip to content

Commit

Permalink
build: show docker-compose logs on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdecaf committed Sep 30, 2024
1 parent 112ae62 commit 97ae1c2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cgo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,7 @@ jobs:
run: make check
env:
GOTEST_FLAGS: "-short"

- name: Logs
if: failure() && runner.os == 'Linux'
run: docker-compose logs
4 changes: 4 additions & 0 deletions .github/workflows/nocgo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,7 @@ jobs:
env:
CGO_ENABLED: "0"
GOTEST_FLAGS: "-short"

- name: Logs
if: failure() && runner.os == 'Linux'
run: docker-compose logs

0 comments on commit 97ae1c2

Please sign in to comment.