Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdd7a7f9

Browse files
authored
Merge branch 'master' into drop-py-37
2 parentscb8a0a6 +2bd9006 commitdd7a7f9

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

‎.github/workflows/all-lints.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
os:[ubuntu-latest, macos-latest, windows-latest]
1212
python-version:['3.8', '3.9', '3.10']
1313
steps:
14-
-uses:actions/checkout@v1
14+
-uses:actions/checkout@v4
1515
-uses:marian-code/python-lint-annotate@master
1616
with:
1717
python-root-list:"./tests/*.py ./tests/subtest/*.py"

‎README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ Basic:
3030

3131
```yml
3232
steps:
33-
-uses:actions/checkout@v1
33+
-uses:actions/checkout@v4
3434
-uses:marian-code/python-lint-annotate@v3
3535
```
3636
3737
Options:
3838
3939
```yml
4040
steps:
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
@@ -54,8 +54,9 @@ steps:
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.
5960
Any python `2.x` versions are unsupported! You can lint on Linux, Windows and MacOS.
6061

6162
The 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
7778
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.
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
@@ -93,8 +94,8 @@ jobs:
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: |

‎action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ runs:
8181
using:"composite"
8282
steps:
8383
-name:Setup python
84-
uses:actions/setup-python@v2
84+
uses:actions/setup-python@v5
8585
with:
8686
python-version:${{ inputs.python-version }}
8787
architecture:x64

‎examples/actions-only_changed_files.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
name:Lint
99
steps:
1010
-name:Check out source repository
11-
uses:actions/checkout@v3
11+
uses:actions/checkout@v4
1212
with:
1313
fetch-depth:0# This is necessary to get the commits
1414
-name:Set up Python environment
15-
uses:actions/setup-python@v3
15+
uses:actions/setup-python@v5
1616
with:
1717
python-version:"3.8"
1818
-name:Get changed python files between base and head

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp