update-flake-lock/.github/workflows/ci.yml

20 lines
486 B
YAML
Raw Normal View History

2022-04-05 17:38:39 +02:00
name: CI
on:
pull_request:
push:
branches: [main]
jobs:
shellcheck:
2024-04-22 00:42:23 +02:00
runs-on: ubuntu-22.04
2022-04-05 17:38:39 +02:00
steps:
- 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
- name: Enable magic Nix cache
uses: DeterminateSystems/magic-nix-cache-action@main
2022-04-05 17:38:39 +02:00
- name: Shellcheck
2024-04-22 00:42:23 +02:00
run: nix develop --command shellcheck $(find . -type f -name "*.sh" -executable)