Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
5960a6e5
Unverified
Commit
5960a6e5
authored
Jul 18, 2024
by
zhyncs
Committed by
GitHub
Jul 18, 2024
Browse files
feat: add lint workflow (#648)
parent
b050d928
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
.github/workflows/lint.yml
.github/workflows/lint.yml
+19
-0
No files found.
.github/workflows/lint.yml
0 → 100644
View file @
5960a6e5
name
:
lint
on
:
[
push
,
pull_request
]
jobs
:
lint
:
runs-on
:
ubuntu-20.04
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Set up Python
3.8
uses
:
actions/setup-python@v2
with
:
python-version
:
3.8
-
name
:
Install pre-commit hook
run
:
|
python -m pip install pre-commit
pre-commit install
-
name
:
Linting
run
:
pre-commit run --all-files
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment