Skip to content

Commit 28c595c

Browse files
committed
Update Go testing
* Update minimum supported Go version to 1.23.0. * Bump GitHub actions and pin versions for supply chain security. * Enable dependabot to update GitHub actions. Signed-off-by: SuperQ <superq@gmail.com>
1 parent 8d39553 commit 28c595c

3 files changed

Lines changed: 12 additions & 4 deletions

File tree

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: /
5+
schedule:
6+
interval: monthly

.github/workflows/test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,18 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
go-version: [ '1.18', '1.21' ]
12+
go-version:
13+
- '1.23.x'
14+
- '1.24.x'
1315

1416
steps:
1517
- name: install memcached
1618
run: |
1719
sudo apt update
1820
sudo apt install memcached
19-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2022
- name: Setup Go ${{ matrix.go-version }}
21-
uses: actions/setup-go@v4
23+
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
2224
with:
2325
go-version: ${{ matrix.go-version }}
2426
- name: Test

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module github.com/bradfitz/gomemcache
22

3-
go 1.18
3+
go 1.23.0

0 commit comments

Comments
 (0)