Skip to content

Commit 9835bf8

Browse files
committed
Put ls-lint and pre-commit in separate workflow files
Standardizes all workflows into separate files. Minor clean up of workflow name and add a docs link
1 parent c136a47 commit 9835bf8

2 files changed

Lines changed: 18 additions & 9 deletions

File tree

.github/workflows/ls-lint.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# https://github.com/loeffel-io/ls-lint
2+
name: Lint
3+
4+
on: [pull_request]
5+
6+
permissions:
7+
contents: read
8+
9+
jobs:
10+
ls-lint:
11+
name: Run ls-lint
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v6
15+
- uses: ls-lint/action@v2.3.1
16+
with:
17+
config: .github/linters/.ls-lint.yml
Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# https://pre-commit.com/
2-
name: Lint
2+
name: pre-commit
33

44
on: [pull_request]
55

@@ -27,11 +27,3 @@ jobs:
2727
run: pre-commit run --color=always --all-files
2828
- name: Run manual pre-commit hooks
2929
run: pre-commit run --color=always --all-files --hook-stage manual
30-
ls-lint:
31-
name: Run ls-lint
32-
runs-on: ubuntu-latest
33-
steps:
34-
- uses: actions/checkout@v6
35-
- uses: ls-lint/action@v2.3.1
36-
with:
37-
config: .github/linters/.ls-lint.yml

0 commit comments

Comments
 (0)