Skip to content

Commit 77ab5ed

Browse files
authored
Merge pull request #329 from whereswaldon/go-1.18
deps: declare go 1.18 in go.mod
2 parents 37ab771 + d5c8a98 commit 77ab5ed

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

.github/workflows/go.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: set up golang
2020
uses: actions/setup-go@v2
2121
with:
22-
go-version: 1.17
22+
go-version: 1.18
2323

2424
- name: format
2525
run: ./hack/check-format.sh
@@ -42,7 +42,7 @@ jobs:
4242
runs-on: ubuntu-20.04
4343
strategy:
4444
matrix:
45-
go: [ '1.15', '1.16', '1.17' ]
45+
go: [ '1.18', '1.19']
4646
steps:
4747
- uses: actions/checkout@v2
4848

@@ -63,7 +63,7 @@ jobs:
6363
runs-on: windows-2019
6464
strategy:
6565
matrix:
66-
go: [ '1.16' ]
66+
go: [ '1.18' ]
6767
steps:
6868
- uses: actions/checkout@v2
6969

@@ -91,7 +91,7 @@ jobs:
9191
runs-on: macos-10.15
9292
strategy:
9393
matrix:
94-
go: [ '1.16' ]
94+
go: [ '1.18' ]
9595
steps:
9696
- uses: actions/checkout@v2
9797

go.mod

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
11
module github.com/jaypipes/ghw
22

3-
go 1.15
3+
go 1.18
44

55
require (
66
github.com/StackExchange/wmi v1.2.1
77
github.com/ghodss/yaml v1.0.0
8+
github.com/jaypipes/pcidb v1.0.0
9+
github.com/pkg/errors v0.9.1
10+
github.com/spf13/cobra v0.0.3
11+
howett.net/plist v1.0.0
12+
)
13+
14+
require (
815
github.com/go-ole/go-ole v1.2.6 // indirect
916
github.com/inconshreveable/mousetrap v1.0.0 // indirect
10-
github.com/jaypipes/pcidb v1.0.0
1117
github.com/kr/pretty v0.1.0 // indirect
1218
github.com/mitchellh/go-homedir v1.1.0 // indirect
13-
github.com/pkg/errors v0.9.1
14-
github.com/spf13/cobra v0.0.3
1519
github.com/spf13/pflag v1.0.2 // indirect
1620
golang.org/x/sys v0.0.0-20220319134239-a9b59b0215f8 // indirect
1721
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
1822
gopkg.in/yaml.v2 v2.4.0 // indirect
19-
howett.net/plist v1.0.0
2023
)

go.sum

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORN
1515
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
1616
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
1717
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
18-
github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
1918
github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
2019
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
2120
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=

0 commit comments

Comments
 (0)