mirror of
https://gitea.com/action-examples/Go.git
synced 2026-03-27 16:30:08 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
741442ba9a | ||
|
|
bfe56a1c59 |
@@ -90,10 +90,12 @@ jobs:
|
||||
ACTIONS_RUNTIME_TOKEN: ""
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64
|
||||
platforms: linux/amd64, linux/arm64
|
||||
file: docker/Dockerfile
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ steps.docker-meta.outputs.tags }}
|
||||
labels: ${{ steps.docker-meta.outputs.labels }}
|
||||
provenance: false
|
||||
sbom: false
|
||||
cache-from: type=registry,ref=gitea/example-go:buildcache
|
||||
cache-to: type=registry,ref=gitea/example-go:buildcache,mode=max
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user