install pre-commit from pip
authorWolf Vollprecht <w.vollprecht@gmail.com>
Mon, 10 Jan 2022 07:02:47 +0000 (08:02 +0100)
committerWolf Vollprecht <w.vollprecht@gmail.com>
Mon, 10 Jan 2022 07:02:47 +0000 (08:02 +0100)
.github/lint_environment.yml [deleted file]
.github/workflows/linter.yml

diff --git a/.github/lint_environment.yml b/.github/lint_environment.yml
deleted file mode 100644 (file)
index 7772b59..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-name: lint
-channels:
-  - conda-forge
-dependencies:
-  - pre-commit
-  - pip
-  # - clang-format ==X.X
index 03acc62553ee2275231b5d89953063b057e7fbe0..0d348743351e1f3755a9fc28807e3c60ffa5e352 100644 (file)
@@ -13,10 +13,13 @@ jobs:
     runs-on: ubuntu-latest
     steps:
     - uses: actions/checkout@v1
-    - name: install mamba
-      uses: mamba-org/provision-with-micromamba@v11
+    - uses: actions/setup-python@v2
       with:
-        environment-file: .github/lint_environment.yml
+        python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
+    - name: Install pre-commit
+      shell: bash -l {0}
+      run: |
+        pip install pre-commit
     - name: Run all linters
       shell: bash -l {0}
       run: |