Skip to content

Commit 708f5e2

Browse files
committed
Update Go to 1.21, actions workflow dependencies, and golang.org/x/sys to address security vulnerability
1 parent 419c10c commit 708f5e2

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/push.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ jobs:
55
test:
66
strategy:
77
matrix:
8-
go: [ '1.14', '1.20' ]
8+
go: [ '1.21' ]
99
os: [ ubuntu-latest, macos-latest, windows-latest ]
1010
fail-fast: false
11-
11+
1212
runs-on: ${{ matrix.os }}
1313
name: Test suite
1414

1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717
- name: Setup go
18-
uses: actions/setup-go@v1
18+
uses: actions/setup-go@v4
1919
with:
2020
go-version: ${{ matrix.go }}
2121
- run: go test -v ./...

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This fork adds:
77

88
- `OpenReader` error wrapping;
99
- `ErrNotFound` error wrapping on BSD;
10-
- Go 1.13 support.
10+
- Go 1.21 support.
1111

1212
## Usage
1313

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module github.com/cli/browser
22

3-
go 1.14
3+
go 1.21
44

5-
require golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71
5+
require golang.org/x/sys v0.13.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71 h1:X/2sJAybVknnUnV7AD2HdT6rm2p5BP6eH2j+igduWgk=
2-
golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
1+
golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE=
2+
golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=

0 commit comments

Comments
 (0)