This repository was archived by the owner on Feb 12, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +30
-9
lines changed Expand file tree Collapse file tree 2 files changed +30
-9
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,13 @@ charset = utf-8
1010trim_trailing_whitespace = true
1111insert_final_newline = true
1212
13- [* .{md,rst,txt} ]
1413indent_style = space
15- indent_size = 4
14+ indent_size = 2
1615
1716[* .js ]
1817indent_style = space
1918indent_size = 4
2019
21- [* .{json,yml,yaml} ]
20+ [* .{json,yml,yaml,md } ]
2221indent_style = space
2322indent_size = 2
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ An official [GitHub Action](https://help.github.com/en/actions) to run [DepHell]
44
55Input variables:
66
7- - ` dephell-env ` -- DepHell environment to run.
8- - ` python-version ` -- Python version to use when creating venv.
9- - ` dephell-version ` -- DepHell version to install. The latest version is installed by default .
7+ - ` dephell-env ` -- DepHell environment to run. Default: job name
8+ - ` python-version ` -- Python version to use when creating venv. Default: ` python3 `
9+ - ` dephell-version ` -- DepHell version to install. Default: the latest release .
1010
1111## Example
1212
3030 - master
3131
3232jobs :
33+ # env name detected from the job name, python version explicitly enumerated
3334 pytest :
3435 runs-on : ubuntu-latest
3536 strategy :
3637 matrix :
37- python-version : [3.6, 3.7, 3.8]
38+ python-version :
39+ - " 3.6"
40+ - " 3.7"
41+ - " 3.8"
42+ - pypy3
3843 steps :
3944 - name : Setup Python
4045 uses : actions/setup-python@v2
4449 uses : actions/checkout@v2
4550 - name : Run DepHell
4651 uses : dephell/dephell_action@master
52+
53+ # env name enumerated, python version is 3.7
54+ linters :
55+ runs-on : ubuntu-latest
56+ strategy :
57+ matrix :
58+ dephell-env :
59+ - flake8
60+ - typing
61+ steps :
62+ - name : Setup Python
63+ uses : actions/setup-python@v2
4764 with :
48- dephell-env : pytest
49- python-version : ${{ matrix.python-version }}
65+ python-version : " 3.7"
66+ - name : Checkout
67+ uses : actions/checkout@v2
68+ - name : Run DepHell
69+ uses : dephell/dephell_action@master
70+ with :
71+ dephell-env : ${{ matrix.dephell-env }}
5072` ` `
5173
5274See [DepHell documentation](https://dephell.readthedocs.io/config.html) for details on configuring DepHell.
You can’t perform that action at this time.
0 commit comments