Skip to content

Commit ebf1a60

Browse files
committed
Fixup getopt requires
Use the correct path and tag for the `github.com/pborman/getopt/v2` requirement. * Update and pin GitHub actions for supply chain security. * Enable dependabot. Signed-off-by: SuperQ <[email protected]>
1 parent 96c4edf commit ebf1a60

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ jobs:
55
runs-on: ubuntu-latest
66
steps:
77
- name: Check out code
8-
uses: actions/checkout@v4
8+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
99

1010
- name: Install Go
11-
uses: actions/setup-go@v5
11+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
1212
with:
1313
go-version: 1.x
1414

@@ -19,7 +19,7 @@ jobs:
1919
run: go vet ./...
2020

2121
- name: staticcheck
22-
uses: dominikh/staticcheck-action@v1.3.0
22+
uses: dominikh/staticcheck-action@288b4e28bae83c59f35f73651aeb5cab746a06fc # v1.4.0
2323
with:
2424
install-go: false
2525

@@ -31,12 +31,12 @@ jobs:
3131
runs-on: ${{ matrix.os }}
3232
steps:
3333
- name: Install Go
34-
uses: actions/setup-go@v5
34+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
3535
with:
3636
go-version: ${{ matrix.go-version }}
3737

3838
- name: Check out code
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4040

4141
- name: Test
4242
run: go test -race ./...

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module github.com/oklog/ulid/v2
22

33
go 1.15
44

5-
require github.com/pborman/getopt v0.0.0-20170112200414-7148bc3a4c30
5+
require github.com/pborman/getopt/v2 v2.1.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github.com/pborman/getopt v0.0.0-20170112200414-7148bc3a4c30 h1:BHT1/DKsYDGkUgQ2jmMaozVcdk+sVfz0+1ZJq4zkWgw=
2-
github.com/pborman/getopt v0.0.0-20170112200414-7148bc3a4c30/go.mod h1:85jBQOZwpVEaDAr341tbn15RS4fCAsIst0qp7i8ex1o=
1+
github.com/pborman/getopt/v2 v2.1.0 h1:eNfR+r+dWLdWmV8g5OlpyrTYHkhVNxHBdN2cCrJmOEA=
2+
github.com/pborman/getopt/v2 v2.1.0/go.mod h1:4NtW75ny4eBw9fO1bhtNdYTlZKYX5/tBLtsOpwKIKd0=

0 commit comments

Comments
 (0)