Update EDGG aerodromes #325
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: | |
pull_request: | |
push: | |
branches: [main] | |
env: | |
CI_PROJECT_PATH: ${{ github.repository }} | |
jobs: | |
lint: | |
name: Code Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@v6 | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: atciss | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
- name: Run pylint | |
run: 'nix run .#pylint' | |
- name: Run black | |
run: 'nix run .#black' | |
- name: Run ruff | |
run: 'nix run .#ruff' | |
flake-check: | |
name: nix flake check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Check Nix flake inputs | |
uses: DeterminateSystems/flake-checker-action@v5 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@v6 | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: atciss | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
- name: Run flake check | |
run: nix flake check --no-update-lock-file |