2022-04-05 17:38:39 +02:00
|
|
|
name: CI
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
branches: [main]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
shellcheck:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-10-11 03:17:10 +02:00
|
|
|
- uses: actions/checkout@v4
|
2022-04-05 17:38:39 +02:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
- name: Install Nix
|
2023-02-08 18:37:07 +01:00
|
|
|
uses: DeterminateSystems/nix-installer-action@main
|
2023-07-14 11:21:02 +02:00
|
|
|
- name: Enable magic Nix cache
|
|
|
|
uses: DeterminateSystems/magic-nix-cache-action@main
|
2022-04-05 17:38:39 +02:00
|
|
|
- name: Shellcheck
|
|
|
|
run: nix-shell --run 'shellcheck $(find . -type f -name "*.sh" -executable)'
|