mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[UPD] migrate CI to github actions
This commit is contained in:
8
.github/workflows/pre-commit.yml
vendored
8
.github/workflows/pre-commit.yml
vendored
@@ -2,7 +2,11 @@ name: pre-commit
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- "14.0"
|
||||
push:
|
||||
branches:
|
||||
- "14.0"
|
||||
|
||||
jobs:
|
||||
pre-commit:
|
||||
@@ -10,4 +14,8 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
# The pylint-odoo version we use here does not support python 3.10
|
||||
# https://github.com/OCA/oca-addons-repo-template/issues/80
|
||||
python-version: "3.9"
|
||||
- uses: pre-commit/action@v2.0.0
|
||||
|
||||
Reference in New Issue
Block a user