Skip to content

Commit adca2e1

Browse files
committed
github: require go1.16
1 parent f6d9bde commit adca2e1

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

.github/workflows/mainthread.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,12 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414

15-
- name: Set up Go 1.x
16-
uses: actions/setup-go@v2
15+
- uses: actions/checkout@v2
16+
- uses: actions/setup-go@v2
1717
with:
18-
go-version: ^1.13
19-
id: go
18+
stable: 'false'
19+
go-version: '1.16.0'
2020

21-
- name: Check out code into the Go module directory
22-
uses: actions/checkout@v2
23-
24-
- name: Get dependencies
25-
run: |
26-
go get -v -t -d ./...
2721
- name: Test
2822
run: |
29-
go test -v -coverprofile=coverage.txt -covermode=atomic ./...
23+
go test -v -covermode=atomic ./...

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module golang.design/x/mainthread
22

3-
go 1.15
3+
go 1.16
44

55
require golang.org/x/sys v0.0.0-20201022201747-fb209a7c41cd

0 commit comments

Comments
 (0)