1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-10-30 23:58:09 +02:00

build: simplify (#4748)

simplify test scripts a bit

- remove tparse
- don't verbose test

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker
2024-04-03 14:16:25 -03:00
committed by GitHub
parent 053eccdba0
commit 85cb59c1a0
2 changed files with 1 additions and 12 deletions

View File

@@ -58,14 +58,12 @@ jobs:
- uses: anchore/sbom-action/download-syft@v0.15.10
- name: setup-validate-krew-manifest
run: go install sigs.k8s.io/krew/cmd/validate-krew-manifest@latest
- name: setup-tparse
run: go install github.com/mfridman/tparse@latest
- name: setup
run: |
task setup
task build
- name: test
run: ./scripts/test.sh
run: task test
- uses: codecov/codecov-action@c16abc29c95fcf9174b58eb7e1abf4c866893bc8 # v4
with:
file: ./coverage.txt

View File

@@ -1,9 +0,0 @@
#!/usr/bin/env bash
set -o pipefail && TEST_OPTIONS="-json" task test | tee output.json | tparse -follow
success=$?
set -e
NO_COLOR=1 tparse -format markdown -slow 10 -file output.json >$GITHUB_STEP_SUMMARY
exit $success