@@ -30,15 +30,15 @@ Basic:
3030
3131``` yml
3232steps :
33- - uses : actions/checkout@v1
33+ - uses : actions/checkout@v4
3434 - uses : marian-code/python-lint-annotate@v3
3535` ` `
3636
3737Options:
3838
3939` ` ` yml
4040steps :
41- - uses : actions/checkout@v1
41+ - uses : actions/checkout@v4
4242 - uses : marian-code/python-lint-annotate@v3
4343 with :
4444 python-root-list : " src/ tests/*" # accepts wildcards
5454
5555## Details
5656
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.
5960Any python `2.x` versions are unsupported! You can lint on Linux, Windows and MacOS.
6061
6162The lintner versions are :
@@ -73,9 +74,9 @@ isort==5.10.1
7374
7475# # IMPORTANT - test environment
7576
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
7778means 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.
7980
8081- Keep the lintnig action separated from others
8182- Use it at the and of your workflow when the change in python version will not
9394 name: Lint Python
9495 runs-on: ubuntu-latest
9596 steps:
96- - uses: actions/checkout@v1
97- - uses: actions/setup-python@v2
97+ - uses: actions/checkout@v4
98+ - uses: actions/setup-python@v5
9899 with:
99100 python-version: 3.9
100101 - run: |
0 commit comments