Skip to content

fix: set system flag on 24.04 and newer #1590

fix: set system flag on 24.04 and newer

fix: set system flag on 24.04 and newer #1590

Workflow file for this run

name: Lint Shell
on: [push, pull_request]
jobs:
build:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
sudo apt update
sudo apt install devscripts shellcheck shfmt
# checkbashisms doesn't recognize `set -o pipefail`.
- run: checkbashisms $(shfmt -f . | grep -v do_excluded_supplier.sh)
- run: shellcheck $(shfmt -f .)
- run: shfmt -d -i 4 -sr $(shfmt -f .)