Skip to content

Commit c23afb6

Browse files
authored
Merge pull request #313 from crazy-max/bump-gha
ci: update github actions to latest stable
2 parents d622133 + 12500fb commit c23afb6

File tree

2 files changed

+27
-18
lines changed

2 files changed

+27
-18
lines changed

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
open-pull-requests-limit: 10
5+
directory: "/"
6+
schedule:
7+
interval: "daily"
8+
labels:
9+
- "dependencies"
10+
- "bot"

.github/workflows/build.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
steps:
3030
-
3131
name: Checkout
32-
uses: actions/checkout@v3
32+
uses: actions/checkout@v4
3333
-
3434
name: Set up Docker Buildx
35-
uses: docker/setup-buildx-action@v2
35+
uses: docker/setup-buildx-action@v3
3636
-
3737
name: Run
3838
run: |
@@ -51,13 +51,12 @@ jobs:
5151
steps:
5252
-
5353
name: Checkout
54-
uses: actions/checkout@v3
54+
uses: actions/checkout@v4
5555
-
5656
name: Set up Go
57-
uses: actions/setup-go@v3
57+
uses: actions/setup-go@v5
5858
with:
5959
go-version: ${{ env.GO_VERSION }}
60-
cache: true
6160
-
6261
name: Install deps (ubuntu)
6362
if: startsWith(matrix.os, 'ubuntu-')
@@ -72,7 +71,7 @@ jobs:
7271
-
7372
name: GPG conf
7473
if: ${{ !startsWith(matrix.os, 'windows-') }}
75-
uses: actions/github-script@v6
74+
uses: actions/github-script@v7
7675
id: gpg
7776
with:
7877
script: |
@@ -89,7 +88,7 @@ jobs:
8988
-
9089
name: Import GPG key
9190
if: ${{ !startsWith(matrix.os, 'windows-') }}
92-
uses: crazy-max/ghaction-import-gpg@v5
91+
uses: crazy-max/ghaction-import-gpg@v6
9392
with:
9493
gpg_private_key: ${{ steps.gpg.outputs.key }}
9594
passphrase: ${{ steps.gpg.outputs.passphrase }}
@@ -107,7 +106,7 @@ jobs:
107106
shell: bash
108107
-
109108
name: Upload coverage
110-
uses: codecov/codecov-action@v3
109+
uses: codecov/codecov-action@v4
111110
with:
112111
file: ${{ env.DESTDIR }}/coverage.txt
113112

@@ -116,21 +115,21 @@ jobs:
116115
steps:
117116
-
118117
name: Checkout
119-
uses: actions/checkout@v3
118+
uses: actions/checkout@v4
120119
-
121120
name: Set up Docker Buildx
122-
uses: docker/setup-buildx-action@v2
121+
uses: docker/setup-buildx-action@v3
123122
-
124123
name: Test
125-
uses: docker/bake-action@v2
124+
uses: docker/bake-action@v4
126125
with:
127126
targets: test
128127
set: |
129128
*.cache-from=type=gha,scope=test
130129
*.cache-to=type=gha,scope=test,mode=max
131130
-
132131
name: Upload coverage
133-
uses: codecov/codecov-action@v3
132+
uses: codecov/codecov-action@v4
134133
with:
135134
file: ${{ env.DESTDIR }}//coverage.txt
136135

@@ -139,15 +138,15 @@ jobs:
139138
steps:
140139
-
141140
name: Checkout
142-
uses: actions/checkout@v3
141+
uses: actions/checkout@v4
143142
with:
144143
fetch-depth: 0
145144
-
146145
name: Set up QEMU
147-
uses: docker/setup-qemu-action@v2
146+
uses: docker/setup-qemu-action@v3
148147
-
149148
name: Set up Docker Buildx
150-
uses: docker/setup-buildx-action@v2
149+
uses: docker/setup-buildx-action@v3
151150
-
152151
name: Build
153152
run: |
@@ -165,15 +164,15 @@ jobs:
165164
find ${{ env.DESTDIR }} -type f -exec file -e ascii -e text -- {} +
166165
-
167166
name: Upload artifacts
168-
uses: actions/upload-artifact@v3
167+
uses: actions/upload-artifact@v4
169168
with:
170169
name: docker-credential-helpers
171170
path: ${{ env.DESTDIR }}/*
172171
if-no-files-found: error
173172
-
174173
name: GitHub Release
175174
if: startsWith(github.ref, 'refs/tags/v')
176-
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5
175+
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v0.1.15
177176
env:
178177
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
179178
with:
@@ -185,7 +184,7 @@ jobs:
185184
steps:
186185
-
187186
name: Checkout
188-
uses: actions/checkout@v3
187+
uses: actions/checkout@v4
189188
with:
190189
fetch-depth: 0
191190
-

0 commit comments

Comments
 (0)