@@ -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.7` - `3.10` version are tested since
57+ Uses ` actions/setup-python@v5 `. Only python `3.7` - `3.10` version are tested since
5858they are by far most common now. Other python `3.x` versions should also work.
5959Any python `2.x` versions are unsupported! You can lint on Linux, Windows and MacOS.
6060
@@ -73,9 +73,9 @@ isort==5.10.1
7373
7474# # IMPORTANT - test environment
7575
76- The python version is set by `actions/setup-python@v2 ` using composite actions. This
76+ The python version is set by `actions/setup-python@v5 ` using composite actions. This
7777means 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.
78+ ` actions/setup-python@v5 ` . There are two ways to circumvent this.
7979
8080- Keep the lintnig action separated from others
8181- Use it at the and of your workflow when the change in python version will not
9393 name: Lint Python
9494 runs-on: ubuntu-latest
9595 steps:
96- - uses: actions/checkout@v1
97- - uses: actions/setup-python@v2
96+ - uses: actions/checkout@v4
97+ - uses: actions/setup-python@v5
9898 with:
9999 python-version: 3.9
100100 - run: |
0 commit comments