Skip to content

Commit

Permalink
Bump python version in Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
spitzerd committed Dec 25, 2024
1 parent 7479b31 commit a7217a3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: "Set up Python"
uses: "actions/setup-python@v5"
with:
python-version: "3.10"
python-version: "3.13"

- name: "Create Completion Lists"
run: "python -u tools/createCompletionLists.py"
Expand All @@ -67,7 +67,7 @@ jobs:
- name: "Set up Python"
uses: "actions/setup-python@v5"
with:
python-version: "3.10"
python-version: "3.13"

- name: "Create Completion Lists"
run: "python -u tools/createCompletionLists.py"
Expand All @@ -86,10 +86,10 @@ jobs:
- name: "Set up Python"
uses: "actions/setup-python@v5"
with:
python-version: "3.10"
python-version: "3.13"

- name: "Install Python Dependencies"
run: "python -u -m pip install --upgrade pip && pip install xmlschema==1.6.4"
run: "python -u -m pip install --upgrade pip && pip install xmlschema"

- name: "Validate .assembly.xml"
run: "python -u -c 'import xmlschema; xmlschema.XMLSchema(\"schemas/assembly-2.1.0.xsd\").validate(\".assembly.xml\")'"
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
# - name: "Set up Python"
# uses: "actions/setup-python@v5"
# with:
# python-version: "3.10"
# python-version: "3.13"

# - name: "Create Completion Lists"
# run: "python -u tools/createCompletionLists.py"
Expand Down Expand Up @@ -157,10 +157,10 @@ jobs:
- name: "Set up Python"
uses: "actions/setup-python@v5"
with:
python-version: "3.10"
python-version: "3.13"

- name: "Install Python Dependencies"
run: "python -u -m pip install --upgrade pip && pip install semver==2.13.0"
run: "python -u -m pip install --upgrade pip && pip install semver"

- name: "Set LTEX_LS_VERSION"
run: "echo \"LTEX_LS_VERSION=$(python -u -c \"import re; print(re.search(r'<version>(.*?)</version>', open('pom.xml', 'r').read()).group(1), end='')\")\" >> $GITHUB_ENV"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ jobs:
- name: "Set up Python"
uses: "actions/setup-python@v5"
with:
python-version: "3.10"
python-version: "3.13"

- name: "Install Python Dependencies"
run: "python -u -m pip install --upgrade pip && pip install semver==2.13.0"
run: "python -u -m pip install --upgrade pip && pip install semver"

- name: "Set LTEX_LS_VERSION"
run: "echo \"LTEX_LS_VERSION=$(python -u -c \"import datetime; import re; print('{}.nightly.{}'.format(re.search(r'<version>(.*?)(?:\\\\.develop)?</version>', open('pom.xml', 'r').read()).group(1), datetime.datetime.today().strftime('%Y-%m-%d')), end='')\")\" >> $GITHUB_ENV"
Expand Down

0 comments on commit a7217a3

Please sign in to comment.