summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml23
-rw-r--r--.github/workflows/lint.yml26
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