forked from sipwise/rtpengine
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (23 loc) · 867 Bytes
/
shellcheck.yml
File metadata and controls
30 lines (23 loc) · 867 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Shellcheck
on:
push:
pull_request:
schedule:
- cron: '0 8 * * *'
jobs:
test:
if: github.event_name != 'schedule' || github.repository == 'sipwise/rtpengine'
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Display original shellcheck version
run: shellcheck --version
- name: Update shellcheck to latest stable version
run: |
wget -qO- https://github.com/koalaman/shellcheck/releases/download/stable/shellcheck-stable.linux.x86_64.tar.xz | tar -xJv
sudo cp shellcheck-stable/shellcheck /usr/bin/
- name: Display current shellcheck version
run: shellcheck --version
- name: Shellcheck execution
run: shellcheck --exclude=SC1090,SC1091 debian/*.init debian/*.post* debian/*.pre* debian/*-setup el/*.init tests/simulator-tcp.sh