Skip to content

Commit

Permalink
ci: update strings/bexp workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Marko Kungla <[email protected]>
  • Loading branch information
mkungla committed Dec 21, 2023
1 parent fda04ac commit a0016f1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/strings-bexp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,15 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: '>=1.21.5'
- name: Run tests and generate coverage report
run: |
go test -race -coverpkg=./... -coverprofile=coverage.out ./...
- name: Install goveralls
run: go install github.com/mattn/goveralls@latest
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -parallel -race -flagname="strings/bexp" --coverprofile=coverage.out -service=github
run: goveralls -parallel -race -flagname="strings/bexp" --coverprofile=coverage.out -service=github ./...

finish:
needs: test
Expand Down
9 changes: 6 additions & 3 deletions internal/release/changelog/changelog.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,15 +203,18 @@ func ParseEntryType(typ, scope string) (EntryType, error) {
case "test":
etyp.Typ = "test"
etyp.Kind = EntryKindPatch
case "devops":
etyp.Typ = "devops"
etyp.Kind = EntryKindPatch
case "chore":
etyp.Typ = "chore"
etyp.Kind = EntryKindPatch
case "revert":
etyp.Typ = "revert"
etyp.Kind = EntryKindPatch
case "ci":
etyp.Typ = "revert"
etyp.Kind = EntryKindPatch
case "devops":
etyp.Typ = "devops"
etyp.Kind = EntryKindPatch
default:
return etyp, fmt.Errorf("invalid commit message type: %s", typ)
}
Expand Down

0 comments on commit a0016f1

Please sign in to comment.