Skip to content

Commit b6acdc1

Browse files
ci: Update CI workflows & composite actions (#310)
To use latest possible actions versions.
1 parent 8383f31 commit b6acdc1

File tree

10 files changed

+15
-14
lines changed

10 files changed

+15
-14
lines changed

.github/actions/install_badabump/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ inputs:
55
badabump-version:
66
description: "Badabump version to use"
77
required: false
8-
default: "21.3.3"
8+
default: "22.1.0"
99

1010
runs:
1111
using: "composite"
1212
steps:
1313
- id: "python"
1414
name: "Install Python"
15-
uses: "actions/setup-python@v4.3.1"
15+
uses: "actions/setup-python@v4.4.0"
1616
with:
1717
python-version-file: ".python-version"
1818

.github/actions/install_python_and_poetry/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ inputs:
1818
poetry-version:
1919
description: "Poetry version to use"
2020
required: false
21-
default: "1.3.0"
21+
default: "1.3.1"
2222

2323
outputs:
2424
python-path:
@@ -39,7 +39,7 @@ runs:
3939
steps:
4040
- id: "python"
4141
name: "Install Python"
42-
uses: "actions/setup-python@v4.3.1"
42+
uses: "actions/setup-python@v4.4.0"
4343
with:
4444
python-version: "${{ inputs.python-version }}"
4545
python-version-file: "${{ inputs.python-version-file }}"
@@ -49,7 +49,7 @@ runs:
4949
run: "pipx install --python='${{ steps.python.outputs.python-path }}' poetry==${{ inputs.poetry-version }}"
5050

5151
- name: "Cache venv"
52-
uses: "actions/cache@v3.0.11"
52+
uses: "actions/cache@v3.2.1"
5353
with:
5454
path: "./.venv/"
5555
key: "venv-${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ hashFiles('poetry.lock') }}${{ inputs.cache-key-suffix }}"

.github/actions/run_pre_commit/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ runs:
1414
shell: "bash"
1515

1616
- name: "Cache mypy"
17-
uses: "actions/cache@v3.0.11"
17+
uses: "actions/cache@v3.2.1"
1818
with:
1919
path: "./.mypy_cache/"
2020
key: "mypy-${{ runner.os }}-${{ inputs.python-version }}"

.github/actions/run_tox/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ runs:
3636
shell: "bash"
3737

3838
- name: "Cache tox"
39-
uses: "actions/cache@v3.0.11"
39+
uses: "actions/cache@v3.2.1"
4040
with:
4141
path: "./.tox/"
4242
key: "tox-${{ inputs.python-version }}"

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
runs-on: "${{ matrix.os }}"
3030

3131
steps:
32-
- uses: "actions/checkout@v3.1.0"
32+
- uses: "actions/checkout@v3.2.0"
3333

3434
- id: "python_and_poetry"
3535
uses: "./.github/actions/install_python_and_poetry"
@@ -69,7 +69,7 @@ jobs:
6969
options: "--entrypoint redis-server"
7070

7171
steps:
72-
- uses: "actions/checkout@v3.1.0"
72+
- uses: "actions/checkout@v3.2.0"
7373

7474
- name: "Install system packages"
7575
run: "sudo apt-get update -yqq && sudo apt-get install -yq locales-all"

.github/workflows/ci_package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: "ubuntu-latest"
2626

2727
steps:
28-
- uses: "actions/checkout@v3.1.0"
28+
- uses: "actions/checkout@v3.2.0"
2929

3030
- id: "python_and_poetry"
3131
uses: "./.github/actions/install_python_and_poetry"

.github/workflows/ci_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: "ubuntu-latest"
1515

1616
steps:
17-
- uses: "actions/checkout@v3.1.0"
17+
- uses: "actions/checkout@v3.2.0"
1818

1919
- name: "Fetch git data"
2020
run: |

.github/workflows/ci_verify_docs_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: "ubuntu-latest"
1515

1616
steps:
17-
- uses: "actions/checkout@v3.1.0"
17+
- uses: "actions/checkout@v3.2.0"
1818

1919
- id: "python_and_poetry"
2020
uses: "./.github/actions/install_python_and_poetry"

.github/workflows/release_pr.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@ env:
1717

1818
jobs:
1919
create_release_pr:
20+
if: "${{ github.actor == 'playpauseandstop' }}"
2021
name: "Create Release PR"
2122

2223
runs-on: "ubuntu-latest"
2324

2425
steps:
25-
- uses: "actions/checkout@v3.1.0"
26+
- uses: "actions/checkout@v3.2.0"
2627
with:
2728
ref: "main"
2829

.github/workflows/release_tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
app_id: "${{ secrets.BADABUMP_APP_ID }}"
2626
private_key: "${{ secrets.BADABUMP_APP_PRIVATE_KEY }}"
2727

28-
- uses: "actions/checkout@v3.1.0"
28+
- uses: "actions/checkout@v3.2.0"
2929
with:
3030
ref: "main"
3131
token: "${{ steps.token.outputs.token }}"

0 commit comments

Comments
 (0)