Skip to content

Commit 82d60d3

Browse files
authored
Pin actions, setup dependabot (#183)
* Add dependabot config Signed-off-by: Adolfo Garcia Veytia (puerco) <[email protected]> * Drop renovate config Signed-off-by: Adolfo Garcia Veytia (puerco) <[email protected]> * Pin actions, test with go 1.24 Signed-off-by: Adolfo Garcia Veytia (puerco) <[email protected]> --------- Signed-off-by: Adolfo Garcia Veytia (puerco) <[email protected]>
1 parent 0f0993a commit 82d60d3

File tree

3 files changed

+29
-9
lines changed

3 files changed

+29
-9
lines changed

.github/dependabot.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
2+
# SPDX-License-Identifier: Apache-2.0
3+
---
4+
version: 2
5+
updates:
6+
- package-ecosystem: gomod
7+
directory: "sourcetool"
8+
schedule:
9+
interval: "daily"
10+
open-pull-requests-limit: 10
11+
groups:
12+
gomod:
13+
update-types:
14+
- "patch"
15+
16+
- package-ecosystem: "github-actions"
17+
directory: "/"
18+
schedule:
19+
interval: "daily"
20+
open-pull-requests-limit: 10
21+
groups:
22+
actions:
23+
update-types:
24+
- "minor"
25+
- "patch"

.github/workflows/go-test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout code
13-
uses: actions/checkout@v4
13+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1414
with:
1515
persist-credentials: false
1616

1717
- name: Set up Go
18-
uses: actions/setup-go@v5
18+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
1919
with:
20-
go-version: '1.23.5'
20+
go-version: "1.24"
21+
check-latest: true
2122

2223
- name: Run Go tests
2324
run: go test ./sourcetool/...

renovate.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)