mirror of
https://github.com/dstotijn/go-notion.git
synced 2025-02-19 19:00:17 +02:00
Add testing via GitHub Actions
This commit is contained in:
parent
bf5c41b906
commit
ac5fdc2f75
19
.github/workflows/test.yaml
vendored
Normal file
19
.github/workflows/test.yaml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
name: Test
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: "^1.19.1"
|
||||
cache: true
|
||||
- run: go test ./...
|
@ -2,6 +2,7 @@
|
||||
|
||||
[](https://github.com/dstotijn/go-notion/tags)
|
||||
[](https://github.com/dstotijn/go-notion/actions/workflows/test.yml)
|
||||
[](https://pkg.go.dev/github.com/dstotijn/go-notion)
|
||||
[](LICENSE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user