1
0
Fork 0
mirror of https://github.com/Kunsi/pretalx-plugin-broadcast-tools synced 2024-11-24 12:01:02 +00:00

update github actions to use python 3.12

This commit is contained in:
Franzi 2024-03-16 11:28:47 +01:00
parent 77148e41f7
commit 819e8ea2aa
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -18,13 +18,13 @@ jobs:
name: isort name: isort
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- name: install gettext - name: install gettext
run: sudo apt install gettext run: sudo apt install gettext
- name: Set up Python 3.8 - name: Set up Python 3.12
uses: actions/setup-python@v1 uses: actions/setup-python@v5
with: with:
python-version: 3.8 python-version: 3.12
- uses: actions/cache@v1 - uses: actions/cache@v1
with: with:
path: ~/.cache/pip path: ~/.cache/pip
@ -41,13 +41,13 @@ jobs:
name: flake8 name: flake8
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- name: install gettext - name: install gettext
run: sudo apt install gettext run: sudo apt install gettext
- name: Set up Python 3.8 - name: Set up Python 3.12
uses: actions/setup-python@v1 uses: actions/setup-python@v5
with: with:
python-version: 3.8 python-version: 3.12
- uses: actions/cache@v1 - uses: actions/cache@v1
with: with:
path: ~/.cache/pip path: ~/.cache/pip
@ -65,13 +65,13 @@ jobs:
name: black name: black
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- name: install gettext - name: install gettext
run: sudo apt install gettext run: sudo apt install gettext
- name: Set up Python 3.8 - name: Set up Python 3.12
uses: actions/setup-python@v1 uses: actions/setup-python@v5
with: with:
python-version: 3.8 python-version: 3.12
- uses: actions/cache@v1 - uses: actions/cache@v1
with: with:
path: ~/.cache/pip path: ~/.cache/pip
@ -89,13 +89,13 @@ jobs:
name: docformatter name: docformatter
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- name: install gettext - name: install gettext
run: sudo apt install gettext run: sudo apt install gettext
- name: Set up Python 3.8 - name: Set up Python 3.12
uses: actions/setup-python@v1 uses: actions/setup-python@v5
with: with:
python-version: 3.8 python-version: 3.12
- uses: actions/cache@v1 - uses: actions/cache@v1
with: with:
path: ~/.cache/pip path: ~/.cache/pip
@ -113,13 +113,13 @@ jobs:
name: djhtml name: djhtml
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- name: install gettext - name: install gettext
run: sudo apt install gettext run: sudo apt install gettext
- name: Set up Python 3.8 - name: Set up Python 3.12
uses: actions/setup-python@v1 uses: actions/setup-python@v5
with: with:
python-version: 3.8 python-version: 3.12
- uses: actions/cache@v1 - uses: actions/cache@v1
with: with:
path: ~/.cache/pip path: ~/.cache/pip
@ -137,13 +137,13 @@ jobs:
# name: packaging # name: packaging
# runs-on: ubuntu-latest # runs-on: ubuntu-latest
# steps: # steps:
# - uses: actions/checkout@v2 # - uses: actions/checkout@v4
# - name: install gettext # - name: install gettext
# run: sudo apt install gettext # run: sudo apt install gettext
# - name: Set up Python 3.8 # - name: Set up Python 3.12
# uses: actions/setup-python@v1 # uses: actions/setup-python@v5
# with: # with:
# python-version: 3.8 # python-version: 3.12
# - uses: actions/cache@v1 # - uses: actions/cache@v1
# with: # with:
# path: ~/.cache/pip # path: ~/.cache/pip