2020-04-09 12:58:08 +00: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 22:33:02 +00:00
|
|
|
- run: nix-build -A checks.x86_64-linux.build
|
2020-05-11 14:04:46 +00: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"
|