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
|
2020-11-09 05:34:56 +00:00
|
|
|
- uses: cachix/install-nix-action@v12
|
2020-04-09 12:58:08 +00:00
|
|
|
#- 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
|
2020-11-09 05:34:56 +00:00
|
|
|
- uses: cachix/install-nix-action@v12
|
2020-05-11 14:04:46 +00:00
|
|
|
- run: nix-shell -p openapi-generator-cli --run "openapi-generator-cli validate -i ./hydra-api.yaml"
|