2020-04-09 08:58:08 -04:00
|
|
|
name: "Test"
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
jobs:
|
|
|
|
tests:
|
|
|
|
runs-on: ubuntu-18.04
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
- uses: cachix/install-nix-action@v8
|
|
|
|
#- run: nix flake check
|
2020-04-15 18:33:02 -04:00
|
|
|
- run: nix-build -A checks.x86_64-linux.build
|
2020-05-11 10:04:46 -04:00
|
|
|
validate-openapi:
|
|
|
|
runs-on: ubuntu-18.04
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
- uses: cachix/install-nix-action@v8
|
|
|
|
- run: nix-shell -p openapi-generator-cli --run "openapi-generator-cli validate -i ./hydra-api.yaml"
|