From bfe56a1c5906cecbe799f4eea3439432041f2ed2 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Wed, 12 Jun 2024 10:11:22 +0800 Subject: [PATCH] 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 --- .gitea/workflows/testing.yml | 3 +-- .goreleaser.yaml | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/testing.yml b/.gitea/workflows/testing.yml index 29689a3..a98033c 100644 --- a/.gitea/workflows/testing.yml +++ b/.gitea/workflows/testing.yml @@ -34,9 +34,8 @@ jobs: /go_cache key: go_path-${{ steps.hash-go.outputs.hash }} - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v6 with: - version: v1.56.2 args: --timeout 5m testing: name: check and test diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 403efa5..8f0b355 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -25,6 +25,8 @@ changelog: # Default is empty sort: asc + format: "{{ .SHA }} {{ .Message }} @{{ .AuthorUsername }} ({{ .AuthorName }})" + # Group commits messages by given regex and title. # Order value defines the order of the groups. # Proving no regex means all commits will be grouped under the default group.