From 3acd0cf4adc399fe193d4778e58a0b7a1dbff2a9 Mon Sep 17 00:00:00 2001 From: rpartzsch Date: Fri, 25 Oct 2024 10:54:08 +0200 Subject: [PATCH] GIT: improved workflow --- .github/pre-commit.yml | 25 ------------------------- .github/workflows/pre-commit.yml | 2 -- 2 files changed, 27 deletions(-) delete mode 100644 .github/pre-commit.yml diff --git a/.github/pre-commit.yml b/.github/pre-commit.yml deleted file mode 100644 index 950473b..0000000 --- a/.github/pre-commit.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: pre-commit - -on: - pull_request: - push: - branches: [main] - -jobs: - pre-commit: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v3 - - uses: pre-commit/action@v3.0.1 - with: - extra_args: flake8 --all-files - - installation: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v3 - - name: Install dependencies - run: | - pip install -e . diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 950473b..c5b75ea 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -12,8 +12,6 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v3 - uses: pre-commit/action@v3.0.1 - with: - extra_args: flake8 --all-files installation: runs-on: ubuntu-latest