You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
409 B

  1. name: pre-commit
  2. on:
  3. pull_request:
  4. push:
  5. jobs:
  6. pre-commit:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - uses: actions/checkout@v2
  10. - uses: actions/setup-python@v2
  11. with:
  12. # The pylint-odoo version we use here does not support python 3.10
  13. # https://github.com/OCA/oca-addons-repo-template/issues/80
  14. python-version: "3.9"
  15. - uses: pre-commit/action@v2.0.0