Skip to content

Commit db515de

Browse files
authored
Merge pull request #250 from creativecommons/python-3-12
Upgrade to Python 3.12 and use current Actions versions
2 parents 881a179 + f750385 commit db515de

7 files changed

Lines changed: 24 additions & 24 deletions

File tree

.github/workflows/enable_workflows.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ jobs:
1010
steps:
1111

1212
# https://github.com/actions/setup-python
13-
- name: Setup Python 3.11
14-
uses: actions/setup-python@v5
13+
- name: Setup Python 3.12
14+
uses: actions/setup-python@v6
1515
with:
16-
python-version: '3.11'
16+
python-version: '3.12'
1717

1818
- name: Install system dependencies
1919
run: |
2020
python -m pip install --upgrade pip
2121
python -m pip install pipenv
2222
2323
# https://github.com/actions/checkout
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v7
2525
with:
2626
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
2727

.github/workflows/manage_issues.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
steps:
1313

1414
# https://github.com/actions/setup-python
15-
- name: Install Python 3.11
16-
uses: actions/setup-python@v5
15+
- name: Install Python 3.12
16+
uses: actions/setup-python@v6
1717
with:
18-
python-version: '3.11'
18+
python-version: '3.12'
1919

2020
- name: Install pipenv
2121
run: |
@@ -24,7 +24,7 @@ jobs:
2424
2525
# https://github.com/actions/checkout
2626
- name: Checkout repository
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v7
2828

2929
- name: Install Python dependencies
3030
run: pipenv sync --system

.github/workflows/normalize_repos.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ jobs:
1010
steps:
1111

1212
# https://github.com/actions/setup-python
13-
- name: Setup Python 3.11
14-
uses: actions/setup-python@v5
13+
- name: Setup Python 3.12
14+
uses: actions/setup-python@v6
1515
with:
16-
python-version: '3.11'
16+
python-version: '3.12'
1717

1818
- name: Install system dependencies
1919
run: |
2020
python -m pip install --upgrade pip
2121
python -m pip install pipenv
2222
2323
# https://github.com/actions/checkout
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v7
2525
with:
2626
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
2727

@@ -35,7 +35,7 @@ jobs:
3535

3636
# https://github.com/actions/upload-artifact
3737
- name: Export a report of invalid issues
38-
uses: actions/upload-artifact@v4
38+
uses: actions/upload-artifact@v7
3939
with:
4040
name: invalid-issue-report
4141
path: /tmp/invalid_issues.yml

.github/workflows/push_data_to_ccos.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
steps:
1111

1212
# https://github.com/actions/setup-python
13-
- name: Setup Python 3.11
14-
uses: actions/setup-python@v5
13+
- name: Setup Python 3.12
14+
uses: actions/setup-python@v6
1515
with:
16-
python-version: '3.11'
16+
python-version: '3.12'
1717

1818
- name: Install system dependencies
1919
run: |
@@ -22,7 +22,7 @@ jobs:
2222
2323
# https://github.com/actions/checkout
2424
- name: Checkout repository
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v7
2626

2727
- name: Install app dependencies
2828
run: pipenv sync --system

.github/workflows/sync_community_teams.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
steps:
1111

1212
# https://github.com/actions/setup-python
13-
- name: Setup Python 3.11
14-
uses: actions/setup-python@v5
13+
- name: Setup Python 3.12
14+
uses: actions/setup-python@v6
1515
with:
16-
python-version: '3.11'
16+
python-version: '3.12'
1717

1818
- name: Install system dependencies
1919
run: |
@@ -22,7 +22,7 @@ jobs:
2222
2323
# https://github.com/actions/checkout
2424
- name: Checkout repository
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v7
2626

2727
- name: Install app dependencies
2828
run: pipenv sync --system

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ requests_toolbelt = "*"
2424
urllib3 = ">=2.7.0" # dependency, pinned for security
2525

2626
[requires]
27-
python_version = "3.11"
27+
python_version = "3.12"

Pipfile.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)