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