mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-24 08:57:31 +08:00
chore: Update lint-action to v2 in lint-js.yml and lint-py.yml workflows
This commit is contained in:
2
.github/workflows/lint-js.yml
vendored
2
.github/workflows/lint-js.yml
vendored
@ -39,7 +39,7 @@ jobs:
|
||||
if: ${{ steps.setup-node.outputs.cache-hit != 'true' }}
|
||||
|
||||
- name: Run linters
|
||||
uses: wearerequired/lint-action@v1
|
||||
uses: wearerequired/lint-action@v2
|
||||
with:
|
||||
github_token: ${{ secrets.github_token }}
|
||||
auto_fix: true
|
||||
|
||||
2
.github/workflows/lint-py.yml
vendored
2
.github/workflows/lint-py.yml
vendored
@ -41,7 +41,7 @@ jobs:
|
||||
./.mypy_cache
|
||||
key: ${{ runner.os }}-mypy-${{ hashFiles('**/pyproject.toml') }}
|
||||
- name: Run linters
|
||||
uses: wearerequired/lint-action@v1
|
||||
uses: wearerequired/lint-action@v2
|
||||
with:
|
||||
github_token: ${{ secrets.github_token }}
|
||||
# Enable linters
|
||||
|
||||
Reference in New Issue
Block a user