Files
William Douglas 23a9a44571 Make github action shellcheck run on PRs
Modify the shell check workflow to operate on the same events as the
swupd tests.

Signed-off-by: William Douglas <william.douglas@intel.com>
2025-03-26 16:55:13 -07:00

20 lines
348 B
YAML

name: Shellcheck
on: [push, pull_request]
env:
RUNNING_IN_CI: true
jobs:
shellcheck-all:
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- uses: actions/checkout@v4
- name: build_dependencies
run: sudo apt-get install bats
- name: shellcheck-all
run: bats -t test/code_analysis/shellcheck-all.bats