diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9db7a54..00c2dfb 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,3 +4,7 @@ updates: directory: / schedule: interval: weekly + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml new file mode 100644 index 0000000..bce6221 --- /dev/null +++ b/.github/workflows/pre-commit.yml @@ -0,0 +1,20 @@ +name: pre-commit +on: + pull_request: + push: + branches: + - main +permissions: + contents: read +jobs: + pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + - uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 + with: + python-version: "3.11" + cache: pip + - uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 + - run: "python -m pip install --upgrade pip" + - run: "pip install -r requirements.txt"