Eli Bendersky 3c2447b2d1
Add example of Go generics (#415)
* Add example of Go generics

Fixes #349

* Remove TODO

* Update public link

* Update GitHub action to only build with 1.18-rc1

1.17 won't successfully build the generics example
2022-03-15 10:53:49 -07:00

31 lines
487 B
YAML

name: test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
go-version: [1.18.0-rc.1]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Test
run: tools/build
env:
VERBOSE: 1
TESTING: 1