Skip to content

Commit 1e5d4ad

Browse files
committed
update for Go 1.18
While here, drop the FAQ about module support, as it's already been the default for over a year, and has been a default for a long time if a go.mod file exists.
1 parent 4b75472 commit 1e5d4ad

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
test:
55
strategy:
66
matrix:
7-
go-version: [1.16.x, 1.17.x]
7+
go-version: [1.17.x, 1.18.x]
88
os: [ubuntu-latest, macos-latest, windows-latest]
99
runs-on: ${{ matrix.os }}
1010
steps:
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- uses: actions/setup-go@v3
2121
with:
22-
go-version: 1.17.x
22+
go-version: 1.18.x
2323
- uses: actions/checkout@v3
2424
- uses: actions/cache@v2
2525
with:

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
test:
1414
strategy:
1515
matrix:
16-
go-version: [1.16.x, 1.17.x]
16+
go-version: [1.17.x, 1.18.x]
1717
os: [ubuntu-latest, macos-latest, windows-latest]
1818
runs-on: ${{ matrix.os }}
1919
steps:
@@ -39,11 +39,6 @@ Note that `name` fields are optional.
3939

4040
## FAQs
4141

42-
#### What about module support?
43-
44-
Go 1.16 and later will already use module mode by default.
45-
Go 1.12 and later do the same if a `go.mod` file is present.
46-
4742
#### How do I set environment variables?
4843

4944
They can be set up via `env` for an [entire

0 commit comments

Comments
 (0)