2022-04-05 15:38:39 +00:00
|
|
|
name: CI
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
branches: [main]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
shellcheck:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2023-06-16 17:31:04 +00:00
|
|
|
- name: Check Nixpkgs input
|
2023-06-16 18:45:02 +00:00
|
|
|
uses: DeterminateSystems/flake-checker-action@v4
|
2023-06-16 17:31:04 +00:00
|
|
|
with:
|
|
|
|
fail-mode: true
|
2022-04-05 15:38:39 +00:00
|
|
|
- name: Install Nix
|
2023-02-08 17:37:07 +00:00
|
|
|
uses: DeterminateSystems/nix-installer-action@main
|
2022-04-05 15:38:39 +00:00
|
|
|
- name: Shellcheck
|
|
|
|
run: nix-shell --run 'shellcheck $(find . -type f -name "*.sh" -executable)'
|