Skip to content

Commit

Permalink
break-off linter
Browse files Browse the repository at this point in the history
  • Loading branch information
mkysel committed Dec 19, 2024
1 parent 8613e39 commit bd722a3
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/lint.yml → .github/workflows/lint-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- main
pull_request:
paths:
- ".github/workflows/lint.yml"
- ".github/workflows/lint-go.yml"
- "pkg/**"
- "cmd/**"
- "dev/**"
Expand All @@ -17,14 +17,10 @@ permissions:
contents: read
jobs:
lint:
name: Lint
name: Lint-Go
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: shellcheck
run: |
sudo apt-get -y install tree
dev/lint-shellcheck
- uses: actions/setup-go@v3
with:
go-version-file: go.mod
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/lint-spellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Lint
on:
push:
branches:
- main
pull_request:
paths:
- ".github/workflows/lint-spellcheck.yml"
- "dev/**"
jobs:
lint-spellcheck:
name: Lint Spellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: shellcheck
run: |
sudo apt-get -y install tree
dev/lint-shellcheck

0 comments on commit bd722a3

Please sign in to comment.