-
Notifications
You must be signed in to change notification settings - Fork 17
45 lines (45 loc) · 1.05 KB
/
lint.yml
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
38
39
40
41
42
43
44
45
name: Lint
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
lint:
runs-on: "ubuntu-latest"
name: "Run ruff"
steps:
- uses: "actions/checkout@v2"
- uses: "actions/setup-python@v2"
with:
python-version: "3.12"
- name: "Install dependencies"
run: |
pip install poetry
poetry install
pip install types-requests
- name: "Run ruff"
run: "make lint"
hadolint:
runs-on: "ubuntu-latest"
name: "Hadolint Action"
steps:
- uses: actions/checkout@master
- name: Hadolint Action
uses: brpaz/[email protected]
with:
dockerfile: Dockerfile
docstr:
runs-on: "ubuntu-latest"
name: "Run docstr"
steps:
- uses: "actions/checkout@v2"
- uses: "actions/setup-python@v2"
with:
python-version: "3.11"
- name: "Install dependencies"
run: |
pip install docstr-coverage
- name: "Run docstr"
run: "make docstr"