-
Notifications
You must be signed in to change notification settings - Fork 119
37 lines (35 loc) · 893 Bytes
/
validate.yaml
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
30
31
32
33
34
35
36
37
name: Validate
on:
push:
pull_request:
schedule:
- cron: "0 0 * * *"
jobs:
hacs_validate:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v2"
- name: HACS validation
uses: "hacs/action@main"
with:
CATEGORY: "plugin"
language_validate:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v2"
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.8.x'
- uses: actions/cache@v2
name: Load pip cache
with:
path: ~/.cache/pip
key: language-validate-pip-cache
- name: Install dependencies
run: |
python3 -m pip install colorama setuptools
python3 -m pip install pyicu
- name: Language validation
run: |
script -e -c "python3 .github/workflows/check.py"