Skip to content

Commit

Permalink
ci: update GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
luisaveiro committed Nov 9, 2023
1 parent 84b3cb7 commit 915fe0d
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions .github/workflows/shellcheck-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,29 @@
name: ShellCheck Analysis

# Triggers the workflow on push or pull request events
on: [push, pull_request]
on:
push:
paths:
- '.github/workflows/**'
- 'bin/**'
pull_request:
paths:
- '.github/workflows/**'
- 'bin/**'

jobs:
shellcheck:
name: Shellcheck
name: Shellcheck analysis
runs-on: ubuntu-latest

concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true

steps:
- uses: actions/checkout@v2
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
scandir: './bin'
- name: Checkout the Git repository
uses: actions/checkout@v4

- name: Run ShellCheck analysis
uses: ludeeus/action-shellcheck@master
with:
scandir: './bin'

0 comments on commit 915fe0d

Please sign in to comment.