Skip to content
This repository has been archived by the owner on Jun 17, 2023. It is now read-only.

Commit

Permalink
Fix (?) build info
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeymakinen committed Aug 9, 2021
1 parent 07e1778 commit c1b923e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
go-version: 1.16
- name: Set build info
run: |
echo "USER=${whoami}" >> $GITHUB_ENV
echo "HOST=${hostname}" >> $GITHUB_ENV
echo "USER=$(whoami)" >> $GITHUB_ENV
echo "HOST=$(hostname)" >> $GITHUB_ENV
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,14 @@ jobs:
with:
go-version: ${{ matrix.go-version }}
- name: Test (on Ubuntu)
run: go test -coverprofile=coverage.txt -covermode=atomic ./...
run: |
sleep 30
go test -coverprofile=coverage.txt -covermode=atomic ./...
if: runner.os == 'Linux'
- name: Show container logs on failure
run: docker-compose -f testdata/docker/docker-compose.yml logs
if: ${{ runner.os == 'Linux' && failure() }}
continue-on-error: true
- name: Test (on macOS)
run: go test -short -coverprofile=coverage.txt -covermode=atomic ./...
if: runner.os == 'macOS'
Expand Down

0 comments on commit c1b923e

Please sign in to comment.