Skip to content

Commit

Permalink
go.mod: update to go 1.18
Browse files Browse the repository at this point in the history
This allows to e.g. use strings.Cut and drop io/ioutil usage.
  • Loading branch information
tklauser committed Dec 1, 2023
1 parent c234513 commit 73ea1b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:
build-and-test:
strategy:
matrix:
go-version: ['1.19', '1.20', '1.21']
# Oldest supported version is 1.18, plus the latest two releases.
go-version: ['1.18', '1.20', '1.21']
os: [ubuntu-20.04, ubuntu-22.04, macos-11, macos-12, macos-13]
runs-on: ${{ matrix.os }}

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/tklauser/go-sysconf

go 1.13
go 1.18

require (
github.com/tklauser/numcpus v0.6.1
Expand Down

0 comments on commit 73ea1b3

Please sign in to comment.