mirror of
https://git.madhouse-project.org/actions/nix.git
synced 2025-01-18 16:41:31 +01:00
9cdda9ed9f
Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
30 lines
532 B
YAML
30 lines
532 B
YAML
---
|
|
name: Shellcheck
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- '**/bin/*'
|
|
- '.forgejo/workflows/shellcheck.yaml'
|
|
|
|
jobs:
|
|
shellcheck:
|
|
runs-on: nixos-flakes
|
|
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: install shellcheck
|
|
uses: ./shell
|
|
with:
|
|
flake: nixpkgs
|
|
package: shellcheck
|
|
|
|
- name: shellcheck all our scripts
|
|
uses: ./shell
|
|
with:
|
|
flake: nixpkgs
|
|
package: shellcheck
|
|
run: |
|
|
shellcheck **/bin/*
|