Skip to content
Closed
Show file tree
Hide file tree
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
11 changes: 10 additions & 1 deletion .github/workflows/coveritup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
- '**/*.sum'
- '**/*.yml'

name: "Cover It Up"
name: "Test and Lint"
jobs:
coveritup:
strategy:
Expand All @@ -33,6 +33,7 @@ jobs:
go install github.com/securego/gosec/v2/cmd/gosec@latest
go install github.com/axw/gocov/gocov@latest
go install github.com/AlekSi/gocov-xml@latest
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
shell: bash
- name: Test
run: |
Expand All @@ -55,6 +56,14 @@ jobs:
echo SCORE=$(($SECONDS-BUILD_START)) >> "$GITHUB_ENV"
shell: bash

- name: Lint Errors
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yes and I removed the separate workflow file.
Once we have zero counts on the lint, will update this CI to exit 1 upon any errors.

run: |
echo SCORE=`golangci-lint run ./... | grep -c "\^"` >> "$GITHUB_ENV"
shell: bash
- uses: kevincobain2000/action-coveritup@v1
with:
type: go-lint-errors

- uses: kevincobain2000/action-coveritup@v1
with:
type: build-time
Expand Down
27 changes: 0 additions & 27 deletions .github/workflows/golangci-lint.yml

This file was deleted.