1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

chore(ci): tparse (#3131)

* chore(ci): tparse

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: always set json

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: nocolor

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: do not need tparse locally

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>

* fix: build

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker 2022-06-11 23:25:04 -03:00 committed by GitHub
parent df734bd111
commit 500190f36a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

View File

@ -84,7 +84,19 @@ jobs:
- uses: anchore/sbom-action/download-syft@bb716408e75840bbb01e839347cd213767269d4a # v0.10.0
- name: setup-validate-krew-manifest
run: go install sigs.k8s.io/krew/cmd/validate-krew-manifest@latest
- run: task ci
- name: setup-tparse
run: go install github.com/mfridman/tparse@latest
- name: setup
run: |
task setup
task build
- name: test
run: |
task test | tee output.json | tparse -notests -follow -all
tparse -format markdown -file output.json -all > $GITHUB_STEP_SUMMARY
env:
TEST_OPTIONS: "-json"
NO_COLOR: 1
- uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3
with:
file: ./coverage.txt

1
.gitignore vendored
View File

@ -13,3 +13,4 @@ completions/
.task/
.idea/
manpages
output.json