ci: switch to GitHub Actions

Signed-off-by: Wolfgang Walther <walther@technowledgy.de>
This commit is contained in:
Wolfgang Walther
2022-01-30 16:32:14 +01:00
committed by Wolfgang Walther
parent 91f1580f95
commit e7e102bc42
3 changed files with 46 additions and 45 deletions
+40
View File
@@ -0,0 +1,40 @@
name: CI
on:
push:
branches:
- main
- v*
pull_request:
branches:
- main
- v*
jobs:
build:
name: Build docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- uses: cachix/install-nix-action@v16
- run: nix-env -f default.nix -iA build
- run: postgrest-docs-build
spellcheck:
name: Run spellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- uses: cachix/install-nix-action@v16
- run: nix-env -f default.nix -iA spellcheck
- run: postgrest-docs-spellcheck
linkcheck:
name: Run linkcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- uses: cachix/install-nix-action@v16
- run: nix-env -f default.nix -iA linkcheck
- run: postgrest-docs-linkcheck