mirror of
https://github.com/goreleaser/goreleaser.git
synced 2026-06-19 23:24:39 +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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user