ci: update testing workflow and changelog configuration

- Update golangci-lint-action from v3 to v6 in testing workflow
- Remove specific version (v1.56.2) for golangci-lint-action in testing workflow
- Add changelog format specification in .goreleaser.yaml

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2024-06-12 10:11:22 +08:00
parent 79e439dbc7
commit bfe56a1c59
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View File

@ -34,9 +34,8 @@ jobs:
/go_cache /go_cache
key: go_path-${{ steps.hash-go.outputs.hash }} key: go_path-${{ steps.hash-go.outputs.hash }}
- name: golangci-lint - name: golangci-lint
uses: golangci/golangci-lint-action@v3 uses: golangci/golangci-lint-action@v6
with: with:
version: v1.56.2
args: --timeout 5m args: --timeout 5m
testing: testing:
name: check and test name: check and test

View File

@ -25,6 +25,8 @@ changelog:
# Default is empty # Default is empty
sort: asc sort: asc
format: "{{ .SHA }} {{ .Message }} @{{ .AuthorUsername }} ({{ .AuthorName }})"
# Group commits messages by given regex and title. # Group commits messages by given regex and title.
# Order value defines the order of the groups. # Order value defines the order of the groups.
# Proving no regex means all commits will be grouped under the default group. # Proving no regex means all commits will be grouped under the default group.