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