Skip to content

Commit 6608815

Browse files
committed
Bump to go1.20
Run go mod tidy
1 parent 9f0d9f7 commit 6608815

File tree

3 files changed

+10
-20
lines changed

3 files changed

+10
-20
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# benchmarks. At the end do a quick check to ensure the tests to not leave
2020
# files in the tree.
2121
test:
22-
name: "test: go${{matrix.gover}}.x/${{matrix.os}}"
22+
name: "test: ${{matrix.os}}"
2323
runs-on: "${{matrix.os}}"
2424
continue-on-error: true
2525
defaults:
@@ -29,8 +29,6 @@ jobs:
2929
fail-fast: false
3030
matrix:
3131
os: [ubuntu-latest, macos-latest, windows-latest]
32-
# Do not forget to bump every 6 months!
33-
gover: ["1.19"]
3432
env:
3533
PYTHONDONTWRITEBYTECODE: x
3634
steps:
@@ -40,10 +38,9 @@ jobs:
4038
- uses: actions/checkout@v3
4139
with:
4240
fetch-depth: 2
43-
- uses: actions/setup-go@v3
41+
- uses: actions/setup-go@v4
4442
with:
45-
go-version: "~${{matrix.gover}}.0"
46-
cache: true
43+
go-version-file: go.mod
4744
- name: 'go install necessary tools'
4845
if: always()
4946
run: |
@@ -87,7 +84,7 @@ jobs:
8784
# to cut on runtime, at the cost of latency. I dislike waiting for results
8885
# so I prefer to run them in parallel.
8986
lint:
90-
name: "lint: go${{matrix.gover}}.x/${{matrix.os}}"
87+
name: "lint: ${{matrix.os}}"
9188
runs-on: "${{matrix.os}}"
9289
continue-on-error: true
9390
defaults:
@@ -100,19 +97,16 @@ jobs:
10097
# OS-specific code benefits from explicitly linting on macOS and
10198
# Windows.
10299
os: [ubuntu-latest, macos-latest, windows-latest]
103-
# Do not forget to bump every 6 months!
104-
gover: ["1.19"]
105100
env:
106101
PYTHONDONTWRITEBYTECODE: x
107102
steps:
108103
- name: Turn off git core.autocrlf
109104
if: matrix.os == 'windows-latest'
110105
run: git config --global core.autocrlf false
111106
- uses: actions/checkout@v3
112-
- uses: actions/setup-go@v3
107+
- uses: actions/setup-go@v4
113108
with:
114-
go-version: "~${{matrix.gover}}.0"
115-
cache: true
109+
go-version-file: go.mod
116110
- name: "Debug"
117111
run: |
118112
echo HOME = $HOME
@@ -288,23 +282,20 @@ jobs:
288282

289283

290284
codeql:
291-
name: "codeql: go${{matrix.gover}}.x/${{matrix.os}}"
285+
name: "codeql: ${{matrix.os}}"
292286
runs-on: "${{matrix.os}}"
293287
continue-on-error: true
294288
strategy:
295289
fail-fast: false
296290
matrix:
297291
os: [ubuntu-latest]
298-
# Do not forget to bump every 6 months!
299-
gover: ["1.19"]
300292
permissions:
301293
security-events: write
302294
steps:
303295
- uses: actions/checkout@v3
304-
- uses: actions/setup-go@v3
296+
- uses: actions/setup-go@v4
305297
with:
306-
go-version: "~${{matrix.gover}}.0"
307-
cache: true
298+
go-version-file: go.mod
308299
- name: Initialize CodeQL
309300
uses: github/codeql-action/init@v2
310301
with:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
module periph.io/x/host/v3
66

7-
go 1.17
7+
go 1.20
88

99
require (
1010
periph.io/x/conn/v3 v3.7.0

go.sum

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
github.com/jonboulle/clockwork v0.3.0 h1:9BSCMi8C+0qdApAp4auwX0RkLGUjs956h0EkuQymUhg=
2-
github.com/jonboulle/clockwork v0.3.0/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8=
32
periph.io/x/conn/v3 v3.7.0 h1:f1EXLn4pkf7AEWwkol2gilCNZ0ElY+bxS4WE2PQXfrA=
43
periph.io/x/conn/v3 v3.7.0/go.mod h1:ypY7UVxgDbP9PJGwFSVelRRagxyXYfttVh7hJZUHEhg=
54
periph.io/x/d2xx v0.1.0 h1:aR+hMkz57YbQHR+Rji4jHH43YLTITRZUr2HjhqCYa7k=

0 commit comments

Comments
 (0)