2021-04-30 10:17:58 +00:00
|
|
|
name: "Prebuild checks"
|
|
|
|
|
|
|
|
on: [pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
style_check:
|
2021-07-20 09:34:06 +00:00
|
|
|
name: Style check
|
2021-04-30 10:17:58 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2.3.4
|
|
|
|
- uses: cachix/install-nix-action@v13
|
|
|
|
with:
|
|
|
|
nix_path: nixpkgs=channel:nixos-unstable
|
2021-07-20 09:34:06 +00:00
|
|
|
name: "Run style check"
|
2021-04-30 10:17:58 +00:00
|
|
|
- run: nix-shell --run "poetry install"
|
|
|
|
- run: nix-shell --run "poetry run make style_check"
|
|
|
|
|
|
|
|
defs_check:
|
2021-07-20 09:34:06 +00:00
|
|
|
name: Defs check
|
2021-04-30 10:17:58 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2.3.4
|
|
|
|
with:
|
|
|
|
submodules: "recursive"
|
|
|
|
fetch-depth: 0
|
|
|
|
- uses: cachix/install-nix-action@v13
|
|
|
|
with:
|
|
|
|
nix_path: nixpkgs=channel:nixos-unstable
|
2021-07-20 09:34:06 +00:00
|
|
|
name: "Run defs check"
|
2021-04-30 10:17:58 +00:00
|
|
|
- run: nix-shell --run "poetry install"
|
|
|
|
- run: nix-shell --run "poetry run make defs_check"
|
|
|
|
|
|
|
|
gen_check:
|
2021-07-20 09:34:06 +00:00
|
|
|
name: Gen check
|
2021-04-30 10:17:58 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2.3.4
|
|
|
|
with:
|
|
|
|
submodules: "recursive"
|
|
|
|
fetch-depth: 0
|
|
|
|
- uses: cachix/install-nix-action@v13
|
|
|
|
with:
|
|
|
|
nix_path: nixpkgs=channel:nixos-unstable
|
2021-07-20 09:34:06 +00:00
|
|
|
name: "Run gen check"
|
2021-04-30 10:17:58 +00:00
|
|
|
- run: nix-shell --run "poetry install"
|
|
|
|
- run: nix-shell --run "poetry run make gen_check"
|
2021-07-20 09:34:06 +00:00
|
|
|
|
|
|
|
changelog_check:
|
|
|
|
name: Changelog check
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2.3.4
|
2021-07-23 21:35:44 +00:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2021-07-20 09:34:06 +00:00
|
|
|
name: "Run check changelog"
|
|
|
|
- run: ./ci/check_changelog.sh
|