Skip to content

Add CI badge

Add CI badge #2

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
nix_parsing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v12
- name: Check Nix parsing
run: |
find . -name "*.nix" -exec nix-instantiate --parse --quiet {} >/dev/null +
shell_error_checking:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v12
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Check for shell script errors
run: |
find . -name "*.*sh" -exec nix-shell -p shellcheck --run "shellcheck {}" \;