update-flake-lock/.github/workflows/ci.yml
2024-04-21 19:42:23 -03:00

19 lines
486 B
YAML

name: CI
on:
pull_request:
push:
branches: [main]
jobs:
shellcheck:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Enable magic Nix cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Shellcheck
run: nix develop --command shellcheck $(find . -type f -name "*.sh" -executable)