-
Notifications
You must be signed in to change notification settings - Fork 742
38 lines (35 loc) · 824 Bytes
/
ani-cli.yml
File metadata and controls
38 lines (35 loc) · 824 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
31
32
33
34
35
36
37
38
name: 'ani-cli checks'
on:
push:
branches:
- master
pull_request:
paths:
- "**ani-cli"
jobs:
sh-checker:
name: Shellcheck + Shfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run the sh-checker
uses: luizm/action-sh-checker@master
env:
SHELLCHECK_OPTS: -s sh -o all -e 2250
SHFMT_OPTS: -i 4 -ci -d
with:
sh_checker_exclude: "_ani-cli-bash _ani-cli-zsh"
check-exec:
name: Executable Bit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: test exec bit
run: test -x "./ani-cli"
check-no-awk:
name: No Awk Allowed
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: verify that noone added awk
run: '! grep awk "./ani-cli"'