Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
go-version-file: go.mod
- name: Run unit tests
run: ROOTFILES_MONITORING_SCENARIO_DIR="$PWD/hub-fixtures" go test ./... -race -count=1 -coverprofile=coverage.out
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: monitoring-hub-fixtures
path: hub-fixtures
Expand All @@ -134,15 +134,15 @@ jobs:
total=$(go tool cover -func=coverage.out | awk '/^total:/ {print $3}')
echo "Total coverage: $total"
echo "### Coverage: $total" >> "$GITHUB_STEP_SUMMARY"
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: coverage-report
path: coverage.out
- name: Build binary
run: CGO_ENABLED=0 go build -o bin/rootfiles ./cmd/rootfiles/
- name: Verify CLI help
run: ./bin/rootfiles --help
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: rootfiles-binary
path: bin/rootfiles
Expand Down
Loading