proper test wiring for example test in github actions

This commit is contained in:
Ben Kraft
2021-04-02 18:04:05 -07:00
parent efc6549d7e
commit 9c8cf02181
6 changed files with 51 additions and 33 deletions
+2 -4
View File
@@ -1,9 +1,7 @@
# example of genqlient
## Getting a token
Get a token from [GitHub](https://github.com/settings/tokens/new) (no scopes needed).
## Invoking the example
Create a [personal access token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) with no scopes.
To run the example:
@@ -15,7 +13,7 @@ csilvers is Craig Silverstein
## Running genqlient
It's already checked in to github, but to generate `generated.go`:
It's already checked in to github, but to regenerate `generated.go`:
```sh
go generate ./...
```