Skip to content

Commit b7112f3

Browse files
Bump the actions group across 1 directory with 4 updates (#317)
* Bump the actions group across 1 directory with 4 updates Bumps the actions group with 4 updates in the / directory: [actions/checkout](https://github.com/actions/checkout), [actions/upload-artifact](https://github.com/actions/upload-artifact), [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) and [docker/login-action](https://github.com/docker/login-action). Updates `actions/checkout` from 5 to 7 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v5...v7) Updates `actions/upload-artifact` from 4 to 7 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v4...v7) Updates `goreleaser/goreleaser-action` from 6 to 7 - [Release notes](https://github.com/goreleaser/goreleaser-action/releases) - [Commits](goreleaser/goreleaser-action@v6...v7) Updates `docker/login-action` from 3 to 4 - [Release notes](https://github.com/docker/login-action/releases) - [Commits](docker/login-action@v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/upload-artifact dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: docker/login-action dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: goreleaser/goreleaser-action dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com> * add aarch64 release --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex Bice <alex.bice@gmail.com>
1 parent c30073d commit b7112f3

4 files changed

Lines changed: 31 additions & 13 deletions

File tree

‎.github/workflows/build_and_test.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
check-latest: true
2525

2626
- name: checkout code
27-
uses: actions/checkout@v5
27+
uses: actions/checkout@v7
2828

2929
- name: Build
3030
run: make build
@@ -41,7 +41,7 @@ jobs:
4141
parallel: true
4242

4343
- name: Upload coverage
44-
uses: actions/upload-artifact@v4
44+
uses: actions/upload-artifact@v7
4545
with:
4646
name: coverage.${{ matrix.go }}
4747
path: coverage.*

‎.github/workflows/release.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v5
13+
uses: actions/checkout@v7
1414
with:
1515
fetch-depth: 0
1616

@@ -22,20 +22,20 @@ jobs:
2222
run: go version
2323

2424
- name: Install GoReleaser
25-
uses: goreleaser/goreleaser-action@v6
25+
uses: goreleaser/goreleaser-action@v7
2626
with:
2727
install-only: true
2828
- name: Show GoReleaser version
2929
run: goreleaser -v
3030

3131
- name: Login to Docker Hub
32-
uses: docker/login-action@v3
32+
uses: docker/login-action@v4
3333
with:
3434
username: ${{ secrets.DOCKERHUB_USERNAME }}
3535
password: ${{ secrets.DOCKERHUB_TOKEN }}
3636

3737
- name: Run GoReleaser
38-
uses: goreleaser/goreleaser-action@v6
38+
uses: goreleaser/goreleaser-action@v7
3939
if: success() && startsWith(github.ref, 'refs/tags/')
4040
with:
4141
# either 'goreleaser' (default) or 'goreleaser-pro'

‎.github/workflows/release_check.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v5
11+
uses: actions/checkout@v7
1212
with:
1313
fetch-depth: 0
1414

@@ -20,22 +20,22 @@ jobs:
2020
run: go version
2121

2222
- name: Install GoReleaser
23-
uses: goreleaser/goreleaser-action@v6
23+
uses: goreleaser/goreleaser-action@v7
2424
with:
2525
install-only: true
2626
- name: Show GoReleaser version
2727
run: goreleaser -v
2828

2929
- name: Run GoReleaser Check
30-
uses: goreleaser/goreleaser-action@v6
30+
uses: goreleaser/goreleaser-action@v7
3131
with:
3232
# either 'goreleaser' (default) or 'goreleaser-pro'
3333
distribution: goreleaser
3434
version: latest
3535
args: check
3636

3737
- name: Run GoReleaser
38-
uses: goreleaser/goreleaser-action@v6
38+
uses: goreleaser/goreleaser-action@v7
3939
with:
4040
# either 'goreleaser' (default) or 'goreleaser-pro'
4141
distribution: goreleaser

‎.goreleaser.yml‎

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,45 @@
11
version: 2
22
builds:
3-
- env:
3+
- id: default
4+
env:
45
- CGO_ENABLED=0
56
goos:
67
- linux
78
- windows
89
- darwin
10+
- id: arm64-aarch64
11+
env:
12+
- CGO_ENABLED=0
13+
goos:
14+
- linux
15+
- darwin
16+
goarch:
17+
- arm64
918

1019
checksum:
1120
name_template: "{{ .ProjectName }}_checksums.txt"
1221

1322
archives:
1423
# Distribute just the binaries by default
15-
- formats: ["binary"]
24+
- id: default
25+
ids: ["default"]
26+
formats: ["binary"]
1627
name_template: >-
1728
{{ .ProjectName }}_
1829
{{- title .Os }}_
1930
{{- if eq .Arch "amd64" }}x86_64
2031
{{- else if eq .Arch "386" }}i386
2132
{{- else }}{{ .Arch }}{{ end }}
33+
- id: aarch64
34+
ids: ["arm64-aarch64"]
35+
formats: ["binary"]
36+
name_template: >-
37+
{{ .ProjectName }}_
38+
{{- title .Os }}_aarch64
2239
2340
kos:
24-
- repositories: ["abice/go-enum"]
41+
- build: default
42+
repositories: ["abice/go-enum"]
2543
base_image: cgr.dev/chainguard/go # need the go binary for formatting 🔧 purposes 🫤
2644
tags:
2745
- "{{.Version}}"

0 commit comments

Comments
 (0)