mirror of
https://github.com/yt-dlp/ejs.git
synced 2026-06-13 08:42:29 +00:00
Replace prettier and eslint with oxfmt and oxlint (#61)
This commit is contained in:
28
.github/workflows/ci.yml
vendored
28
.github/workflows/ci.yml
vendored
@@ -68,8 +68,8 @@ jobs:
|
||||
advanced-security: false
|
||||
persona: pedantic
|
||||
|
||||
ruff_format:
|
||||
name: Ruff format check
|
||||
py_format:
|
||||
name: Python format check
|
||||
permissions:
|
||||
contents: read
|
||||
runs-on: ubuntu-latest
|
||||
@@ -82,8 +82,8 @@ jobs:
|
||||
with:
|
||||
args: "check --output-format github"
|
||||
|
||||
ruff_lint:
|
||||
name: Ruff linting check
|
||||
py_lint:
|
||||
name: Python lint check
|
||||
permissions:
|
||||
contents: read
|
||||
runs-on: ubuntu-latest
|
||||
@@ -96,8 +96,8 @@ jobs:
|
||||
with:
|
||||
args: "format --check --diff"
|
||||
|
||||
prettier:
|
||||
name: Prettier check
|
||||
js_format:
|
||||
name: JavaScript format check
|
||||
permissions:
|
||||
contents: read
|
||||
runs-on: ubuntu-latest
|
||||
@@ -115,12 +115,12 @@ jobs:
|
||||
run: |
|
||||
deno install --frozen
|
||||
|
||||
- name: Run Prettier check
|
||||
- name: Run format check
|
||||
run: |
|
||||
deno task fmt:check
|
||||
|
||||
eslint:
|
||||
name: ESLint check
|
||||
js_lint:
|
||||
name: JavaScript lint check
|
||||
permissions:
|
||||
contents: read
|
||||
runs-on: ubuntu-latest
|
||||
@@ -138,7 +138,7 @@ jobs:
|
||||
run: |
|
||||
deno install --frozen
|
||||
|
||||
- name: Run ESLint check
|
||||
- name: Run lint check
|
||||
run: |
|
||||
deno task lint
|
||||
|
||||
@@ -622,10 +622,10 @@ jobs:
|
||||
needs:
|
||||
- actionlint
|
||||
- zizmor
|
||||
- ruff_format
|
||||
- ruff_lint
|
||||
- prettier
|
||||
- eslint
|
||||
- py_format
|
||||
- py_lint
|
||||
- js_format
|
||||
- js_lint
|
||||
- python_tests
|
||||
- pnpm_build
|
||||
- deno_lock_check
|
||||
|
||||
Reference in New Issue
Block a user