Merge pull request #33 from deepfire/update-to-nixops2 #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "**" ] | |
jobs: | |
parsing: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Nix | |
uses: cachix/install-nix-action@v8 | |
- name: Prefetch shell.nix | |
run: 'nix-shell --run true' | |
- name: Parsing | |
run: './ci/check-nix-files.sh' | |
black: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Nix | |
uses: cachix/install-nix-action@v8 | |
- name: Prefetch shell.nix | |
run: 'nix-shell --run true' | |
- name: Black | |
run: './ci/check-formatting.sh' | |
mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Nix | |
uses: cachix/install-nix-action@v8 | |
- name: Prefetch shell.nix | |
run: 'nix-shell --run true' | |
- name: Mypy | |
run: './ci/check-mypy.sh' | |
flake8: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Nix | |
uses: cachix/install-nix-action@v8 | |
- name: Prefetch shell.nix | |
run: 'nix-shell --run true' | |
- name: Mypy | |
run: './ci/check-flake8.sh' |