@@ -30,15 +30,15 @@ Basic:
30
30
31
31
``` yml
32
32
steps :
33
- - uses : actions/checkout@v1
33
+ - uses : actions/checkout@v4
34
34
- uses : marian-code/python-lint-annotate@v3
35
35
` ` `
36
36
37
37
Options:
38
38
39
39
` ` ` yml
40
40
steps :
41
- - uses : actions/checkout@v1
41
+ - uses : actions/checkout@v4
42
42
- uses : marian-code/python-lint-annotate@v3
43
43
with :
44
44
python-root-list : " src/ tests/*" # accepts wildcards
54
54
55
55
## Details
56
56
57
- Uses ` actions/setup-python@v2`. Only python `3.8` - `3.10` version are tested since
58
- they are by far most common now. Other python `3.x` versions should also work.
57
+
58
+ Uses ` actions/setup-python@v5`. Only python `3.8` - `3.10` versions prior to `3.8`
59
+ are not tested since they are EOL now.
59
60
Any python `2.x` versions are unsupported! You can lint on Linux, Windows and MacOS.
60
61
61
62
The lintner versions are :
@@ -73,9 +74,9 @@ isort==5.10.1
73
74
74
75
# # IMPORTANT - test environment
75
76
76
- The python version is set by `actions/setup-python@v2 ` using composite actions. This
77
+ The python version is set by `actions/setup-python@v5 ` using composite actions. This
77
78
means that the the action will change python you might have previously set with
78
- ` actions/setup-python@v2 ` . There are two ways to circumvent this.
79
+ ` actions/setup-python@v5 ` . There are two ways to circumvent this.
79
80
80
81
- Keep the lintnig action separated from others
81
82
- Use it at the and of your workflow when the change in python version will not
93
94
name: Lint Python
94
95
runs-on: ubuntu-latest
95
96
steps:
96
- - uses: actions/checkout@v1
97
- - uses: actions/setup-python@v2
97
+ - uses: actions/checkout@v4
98
+ - uses: actions/setup-python@v5
98
99
with:
99
100
python-version: 3.9
100
101
- run: |
0 commit comments