mirror of
https://github.com/dstotijn/go-notion.git
synced 2025-06-12 23:57:35 +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)
|
SemVer)](https://img.shields.io/github/v/tag/dstotijn/go-notion?label=go%20module)](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)
|
Reference](https://pkg.go.dev/badge/github.com/dstotijn/go-notion.svg)](https://pkg.go.dev/github.com/dstotijn/go-notion)
|
||||||
[](LICENSE)
|
[](LICENSE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user