Skip to content

Commit b672ada

Browse files
authored
Add dependabot and update actions. (#38)
1 parent 948eed5 commit b672ada

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions" # Necessary to update action hashs
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
# Allow up to 3 opened pull requests for github-actions versions
8+
open-pull-requests-limit: 3

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Show inputs
4141
run: echo "${{ toJSON(github.event.inputs) }}"
4242

43-
- uses: actions/checkout@v3
43+
- uses: actions/checkout@v4
4444

4545
# Use Go 1.20
4646
- name: Switch to Go 1.20
@@ -58,22 +58,22 @@ jobs:
5858
5959
# Cache go build cache, used to speedup go test
6060
- name: Go Build Cache
61-
uses: actions/cache@v3
61+
uses: actions/cache@v4
6262
with:
6363
path: ${{ steps.go-cache-paths.outputs.go-build }}
6464
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
6565
restore-keys: ${{ runner.os }}-go-build-
6666

6767
# Cache go mod cache, used to speedup builds
6868
- name: Go Mod Cache
69-
uses: actions/cache@v3
69+
uses: actions/cache@v4
7070
with:
7171
path: ${{ steps.go-cache-paths.outputs.go-mod }}
7272
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
7373
restore-keys: ${{ runner.os }}-go-mod-
7474

7575
- name: Ccache cache
76-
uses: actions/cache@v3
76+
uses: actions/cache@v4
7777
# Store and retrieve the cache with the given sha.
7878
# The 'restore-keys' prefix finds the most recent cache in case there
7979
# is no match (which should almost always be the case).
@@ -214,7 +214,7 @@ jobs:
214214
done
215215
216216
- name: Upload artifacts
217-
uses: actions/upload-artifact@v3
217+
uses: actions/upload-artifact@v4
218218
with:
219219
name: artifacts
220220
path: |

0 commit comments

Comments
 (0)