Skip to content

Commit af5df88

Browse files
authored
[CI] Remove python checks from python-lint.yml (#543)
Duplicated with pre-commit.yml
1 parent 63a5666 commit af5df88

File tree

3 files changed

+29
-42
lines changed

3 files changed

+29
-42
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,22 @@ concurrency:
1818
jobs:
1919
cpp-lint:
2020
uses: ./.github/workflows/cpp-lint.yml
21-
python-lint:
22-
uses: ./.github/workflows/python-lint.yml
21+
shell-lint:
22+
uses: ./.github/workflows/shell-lint.yml
2323
ubuntu:
2424
needs:
2525
- cpp-lint
26-
- python-lint
26+
- shell-lint
2727
uses: ./.github/workflows/ubuntu.yml
2828
mac:
2929
needs:
3030
- cpp-lint
31-
- python-lint
31+
- shell-lint
3232
uses: ./.github/workflows/mac.yml
3333
windows:
3434
needs:
3535
- cpp-lint
36-
- python-lint
36+
- shell-lint
3737
uses: ./.github/workflows/windows.yml
3838
perf:
3939
needs:

.github/workflows/python-lint.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/shell-lint.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Shell Lint
2+
3+
on:
4+
workflow_call:
5+
push:
6+
paths:
7+
- '**/*.sh'
8+
- '.github/workflows/shell-lint.yml'
9+
pull_request:
10+
paths:
11+
- '**/*.sh'
12+
- '.github/workflows/shell-lint.yml'
13+
14+
jobs:
15+
shell-lint:
16+
runs-on: ubuntu-24.04
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Install shellcheck
20+
run: |
21+
sudo apt-get update
22+
sudo apt-get install -y shellcheck
23+
- name: Run shellcheck
24+
run: shellcheck scripts/*.sh

0 commit comments

Comments
 (0)