From 7f2a936efaefab8857903ebd3eeb3078f517091b Mon Sep 17 00:00:00 2001 From: kenorb Date: Fri, 25 Feb 2022 22:31:57 +0000 Subject: [PATCH] Adds Check workflow --- .github/workflows/check.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/check.yml diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..4b75e7b --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,21 @@ +--- +name: Check + +# yamllint disable-line rule:truthy +on: + pull_request: + push: + +jobs: + Pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/cache@v1 + with: + path: ~/.cache/pre-commit + key: pre-commit|${{ hashFiles('.pre-commit-config.yaml') }} + - uses: actions/setup-python@v2 + with: + python-version: 3.9.10 + - uses: pre-commit/action@v2.0.3