diff options
| author | Sky Leite <sky@leite.dev> | 2023-02-02 18:46:57 -0300 |
|---|---|---|
| committer | Sky Leite <sky@leite.dev> | 2023-02-02 18:46:57 -0300 |
| commit | 52777bc2a4bb719acffc6601b8f5b76e7ffdcadb (patch) | |
| tree | 1b605253241547ae875a254783bdbe248f280b5f /.github | |
| parent | 0929b9c5cb3dea7620b6bee495b4608e42696a1a (diff) | |
| download | decky-loader-52777bc2a4bb719acffc6601b8f5b76e7ffdcadb.tar.gz decky-loader-52777bc2a4bb719acffc6601b8f5b76e7ffdcadb.zip | |
Add lint job to build workflow
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cb72821a..e36a50ae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,9 +29,31 @@ permissions: contents: write 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: name: Build PluginLoader runs-on: ubuntu-20.04 + needs: [lint] steps: - name: Print input |
