mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-17 08:47:49 +00:00
Add lint job to build workflow
This commit is contained in:
@@ -29,9 +29,31 @@ permissions:
|
|||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
lint:
|
||||||
|
name: Run linters
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2 # Check out the repository first.
|
||||||
|
- name: Run prettier (JavaScript & TypeScript)
|
||||||
|
uses: creyD/prettier_action@v4.2
|
||||||
|
with:
|
||||||
|
dry: True
|
||||||
|
prettier_options: --config ./frontend/.prettierrc.js --check
|
||||||
|
|
||||||
|
- name: Run ruff (Python)
|
||||||
|
uses: jpetrucciani/ruff-check@0.0.239
|
||||||
|
with:
|
||||||
|
path: './backend'
|
||||||
|
|
||||||
|
- name: Run ShellCheck
|
||||||
|
uses: ludeeus/action-shellcheck@master
|
||||||
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build PluginLoader
|
name: Build PluginLoader
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
needs: [lint]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Print input
|
- name: Print input
|
||||||
|
|||||||
Reference in New Issue
Block a user