-
-
Notifications
You must be signed in to change notification settings - Fork 21
29 lines (27 loc) · 839 Bytes
/
precommit.yaml
File metadata and controls
29 lines (27 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Run pre-commit
on:
push:
branches:
- 3.*
- main
pull_request:
jobs:
test:
name: Run pre-commit.ci
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: true
fetch-depth: 2
- name: Setup python
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
with:
python-version: "3.x"
- name: Install system deps
run: |
sudo apt-get update
sudo apt-get install -y hunspell hunspell-el gettext language-pack-el locales-all
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
- uses: pre-commit-ci/lite-action@5d6cc0eb514c891a40562a58a8e71576c5c7fb43 # v1.1.0
if: always()