mirror of
https://github.com/anpleenko/sublime-text.git
synced 2026-12-03 17:59:50 +03:00
add linters
This commit is contained in:
1 parent
6f9759283a
commit
b31ff485a3
5 files changed
+52
-3
No files matched your search
@@ -0,0 +1,28 @@
|
||||
name: Linting file
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
editorconfig:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
- run: wget https://github.com/editorconfig-checker/editorconfig-checker/releases/download/v4.0.2/editorconfig-checker_4.0.2_linux_amd64.deb
|
||||
- run: sudo apt install ./editorconfig-checker_4.0.2_linux_amd64.deb
|
||||
- run: rm editorconfig-checker_4.0.2_linux_amd64.deb
|
||||
- run: editorconfig-checker
|
||||
|
||||
whitespace-format:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
- run: wget https://github.com/DavidPal/whitespace-format-rust/releases/download/0.1.9/whitespace-format_0.1.9-1_amd64.deb
|
||||
- run: sudo apt install ./whitespace-format_0.1.9-1_amd64.deb
|
||||
- run: rm whitespace-format_0.1.9-1_amd64.deb
|
||||
- run: make format ARGS=--check-only
|
||||
Reference in new issue
Block a user