diff options
| author | Sky Leite <sky@leite.dev> | 2023-02-03 10:06:56 -0300 |
|---|---|---|
| committer | Sky Leite <sky@leite.dev> | 2023-02-03 10:07:16 -0300 |
| commit | 1379a40a895873827be1a2e4b280f986dadd0b38 (patch) | |
| tree | be4474da006ced67b3829b9336a7e0541ac2018e | |
| parent | d48fc885a3cf97a1fa663dd3439e6aeea0b8c6d9 (diff) | |
| download | decky-loader-1379a40a895873827be1a2e4b280f986dadd0b38.tar.gz decky-loader-1379a40a895873827be1a2e4b280f986dadd0b38.zip | |
Move linters to separate workflow
| -rw-r--r-- | .github/workflows/build.yml | 23 | ||||
| -rw-r--r-- | .github/workflows/lint.yml | 26 |
2 files changed, 26 insertions, 23 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 983e54ae..cb72821a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,32 +29,9 @@ 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) - run: | - pushd frontend - npm install - npm run lint - popd - - - 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 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 00000000..b4a01172 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,26 @@ +name: Lint + +on: + push: + +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) + run: | + pushd frontend + npm install + npm run lint + popd + + - name: Run ruff (Python) + uses: jpetrucciani/ruff-check@0.0.239 + with: + path: "./backend" + + - name: Run ShellCheck + uses: ludeeus/action-shellcheck@master |
