Skip to content

Commit 35b6f48

Browse files
committed
ci: add Github Action to automatically update compatibility table
1 parent 865cf5e commit 35b6f48

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/compatibility.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525

2626
- name: Setup Python
2727
uses: actions/setup-python@v5
28+
with:
29+
python-version: '3.13'
2830

2931
- run: python ./source/compatibility-table.py --source-version ${{ needs.versioning.outputs.next-version }} -d ./dependency -r ./source/README.md
3032

compatibility-table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
parser.add_argument('-s', '--source-repo',
1717
help="Source git repository, probably the repository of the Readme file (mutually exclusive with --source-version)")
1818
parser.add_argument('--source-version', help="Source version (mutually exclusive with -s)")
19-
parser.add_argument('-r', '--readme', nargs=1, help="Readme file that needs to be updated", default="README.md")
19+
parser.add_argument('-r', '--readme', help="Readme file that needs to be updated", default="README.md")
2020
parser.add_argument('-d', '--dependency-repo',
2121
help="Dependency git repository: the one's whose version you want to know (mutually exclusive with --dependency-version)")
2222
parser.add_argument('--dependency-version', help="Dependency version (mutually exclusive with -d)")

0 commit comments

Comments
 (0)