Skip to content

Commit 8545b81

Browse files
authored
Update github actions step versions (#19)
1 parent 6d64392 commit 8545b81

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

.github/workflows/black.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ jobs:
66
lint:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
9+
- uses: actions/checkout@v4.2.2
1010
- uses: psf/black@stable

.github/workflows/prepare-release.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,26 @@ jobs:
1111
runs-on: "ubuntu-latest"
1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@v2.3.4
14+
uses: actions/checkout@v4.2.2
1515
with:
1616
fetch-depth: 0
1717
- name: Setup Python
18-
uses: actions/setup-python@v2.2.2
18+
uses: actions/setup-python@v5.6.0
1919
with:
20-
python-version: "3.8"
20+
python-version: 3.13
2121
- name: python --version
2222
run: |
2323
python --version
2424
python3 --version
2525
- name: Setup protoc
26-
uses: arduino/setup-protoc@v1
26+
uses: arduino/setup-protoc@v3.0.0
2727
with:
28-
version: "3.17.3"
28+
version: "31.1"
2929
- name: protoc --version
3030
run: protoc --version
3131
- name: Permacache Poetry
3232
id: cache-poetry
33-
uses: actions/cache@v2.1.6
33+
uses: actions/cache@v4.2.3
3434
with:
3535
path: ~/.poetry
3636
key: poetry
@@ -57,7 +57,7 @@ jobs:
5757
run: poetry check --no-interaction
5858
- name: Cache dependencies
5959
id: cache-deps
60-
uses: actions/cache@v2.1.6
60+
uses: actions/cache@v4.2.3
6161
with:
6262
path: ${{github.workspace}}/.venv
6363
key: poetry-${{ hashFiles('**/poetry.lock') }}

.github/workflows/publish-pypi.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout code
13-
uses: actions/checkout@v2.3.4
13+
uses: actions/checkout@v4.2.2
1414
- name: Setup Python
15-
uses: actions/setup-python@v2.2.2
15+
uses: actions/setup-python@v5.6.0
1616
with:
17-
python-version: "3.8"
17+
python-version: "3.13"
1818
- name: Permacache Poetry
1919
id: cache-poetry
20-
uses: actions/cache@v2.1.6
20+
uses: actions/cache@v4.2.3
2121
with:
2222
path: ~/.poetry
2323
key: poetry
@@ -34,7 +34,7 @@ jobs:
3434
run: poetry check --no-interaction
3535
- name: Cache dependencies
3636
id: cache-deps
37-
uses: actions/cache@v2.1.6
37+
uses: actions/cache@v4.2.3
3838
with:
3939
path: ${{github.workspace}}/.venv
4040
key: poetry-${{ hashFiles('**/poetry.lock') }}

.github/workflows/test.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,25 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout code
19-
uses: actions/checkout@v2.3.4
19+
uses: actions/checkout@v4.2.2
2020
- name: Setup Python
21-
uses: actions/setup-python@v2.2.2
21+
uses: actions/setup-python@v5.6.0
2222
with:
23-
python-version: 3.8
23+
python-version: 3.13
2424
- name: python --version
2525
run: |
2626
python --version
2727
python3 --version
2828
- name: Setup protoc
29-
uses: arduino/setup-protoc@v1
29+
uses: arduino/setup-protoc@v3.0.0
3030
with:
31-
version: "3.17.3"
31+
version: "31.1"
3232
- name: protoc --version
3333
run: protoc --version
3434
# Perma-cache Poetry since we only need it for checking pyproject version
3535
- name: Cache Poetry
3636
id: cache-poetry
37-
uses: actions/cache@v2.1.6
37+
uses: actions/cache@v4.2.3
3838
with:
3939
path: ~/.poetry
4040
key: poetry
@@ -54,7 +54,7 @@ jobs:
5454
run: poetry check --no-interaction
5555
- name: Cache dependencies
5656
id: cache-deps
57-
uses: actions/cache@v2.1.6
57+
uses: actions/cache@v4.2.3
5858
with:
5959
path: ${{github.workspace}}/.venv
6060
key: deps-${{ hashFiles('**/poetry.lock') }}

0 commit comments

Comments
 (0)