Skip to content

Commit 3f0de33

Browse files
authored
Bump ansible-core and Python versions (#70)
* Bump defaults for shared workflows to stable-2.15 and Python 3.10. * Use ansible-core 2.15 on Python 3.11 for Wiki. * Use Python 3.11 for build action testing.
1 parent 58a25ae commit 3f0de33

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/_shared-docs-build-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ on:
1616
description: The version of Python to install.
1717
required: false
1818
type: string
19-
default: '3.9'
19+
default: '3.10'
2020
ansible-ref:
2121
description: The ref from which to install ansible, for example "stable-2.14" or "milestone".
2222
required: false
2323
type: string
24-
default: stable-2.14
24+
default: stable-2.15
2525
init-dest-dir:
2626
description: A directory relative to the checkout where the init process has already been run.
2727
required: false

.github/workflows/_shared-docs-build-push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ on:
1616
description: The version of Python to install.
1717
required: false
1818
type: string
19-
default: '3.9'
19+
default: '3.10'
2020
ansible-ref:
2121
description: The ref from which to install ansible, for example "stable-2.14" or "milestone".
2222
required: false
2323
type: string
24-
default: stable-2.14
24+
default: stable-2.15
2525
build-ref:
2626
description: |
2727
The ref from this repository to check out and build.

.github/workflows/generate-wiki-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535
- uses: actions/setup-python@v4
3636
if: fromJSON(env.SHOULD_RUN)
3737
with:
38-
python-version: '3.9'
38+
python-version: '3.11'
3939

4040
- name: Install Ansible
4141
if: fromJSON(env.SHOULD_RUN)
42-
run: pip install 'ansible-core>=2.12,<2.13' --disable-pip-version-check
42+
run: pip install 'ansible-core>=2.15,<2.16' --disable-pip-version-check
4343

4444
- name: Generate new docs
4545
if: fromJSON(env.SHOULD_RUN)

.github/workflows/test-action-build-init.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
- name: Install Python
109109
uses: actions/setup-python@v4
110110
with:
111-
python-version: 3.9
111+
python-version: 3.11
112112

113113
# if we pass an empty string to dest-dir, it will override the default.
114114
# we can't copy the default into the matrix because it uses a templating

0 commit comments

Comments
 (0)