mirror of
https://github.com/ashishb/android-security-awesome.git
synced 2024-12-18 11:36:09 +00:00
64d31efe60
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
36 lines
749 B
YAML
36 lines
749 B
YAML
---
|
|
# Run this locally with act - https://github.com/nektos/act
|
|
# act -j lintShellScript
|
|
name: Lint Shell scripts
|
|
|
|
on: # yamllint disable-line rule:truthy
|
|
push:
|
|
branches: [master, main]
|
|
paths:
|
|
- '**.sh'
|
|
- '**.bash'
|
|
- '.github/workflows/lint-shell-script.yaml'
|
|
pull_request:
|
|
branches: [master, main]
|
|
paths:
|
|
- '**.sh'
|
|
- '**.bash'
|
|
- '.github/workflows/lint-shell-script.yaml'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
|
|
lintShellScript:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 15
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Run ShellCheck
|
|
uses: ludeeus/action-shellcheck@2.0.0
|