Skip to content

Commit 125b675

Browse files
authored
Fix GitHub action (#1)
1 parent 45eb831 commit 125b675

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/go.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,15 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v2
1818
with:
19-
stable: 'false'
20-
go-version: 1.18beta1
19+
go-version: 1.17
20+
21+
- name: Install Go 1.18
22+
run: |
23+
go install golang.org/dl/go1.18beta1@latest
24+
go1.18beta1 download
2125
2226
- name: Build
23-
run: go build -v ./...
27+
run: go1.18beta1 build -v ./...
2428

2529
- name: Test
26-
run: go test -v ./...
30+
run: go1.18beta1 test -v ./...

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# go-tuple: Generic tuples for Go 1.18.
22

3+
[![Go](https://github.com/barweiss/go-tuple/actions/workflows/go.yml/badge.svg)](https://github.com/barweiss/go-tuple/actions/workflows/go.yml)
4+
35
Go 1.18 tuple implementation.
46

57
Use tuples to store 1 or more values without needing to write a custom struct.

0 commit comments

Comments
 (0)