Skip to content

Streamline workflows #2

Streamline workflows

Streamline workflows #2

Workflow file for this run

name: Lint
on:
pull_request:
push:
branches: [main]
workflow_call:
workflow_dispatch:
jobs:
lint-shell-scripts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: azohra/shell-linter@latest
with:
path: "./src/**/*.sh"
severity: "warning"
env:
# Acceptable use of decimal comparison
SHELLCHECK_OPTS: -e SC2072
validate-feature-json:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: devcontainers/action@v1
with:
base-path-to-features: "./src"
validate-only: "true"