Skip to content

Commit 90ff6f0

Browse files
committed
update some actions in workflows
1 parent 7aa98fc commit 90ff6f0

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.github/workflows/build-test-package-publish.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ jobs:
2929
python-version: ["3.8", "3.9", "3.10"]
3030

3131
steps:
32-
- uses: actions/checkout@v2
32+
- uses: actions/checkout@v3
3333

3434
- name: setup python ${{ matrix.python-version }} environment
3535
id: setup-python
36-
uses: actions/setup-python@v3
36+
uses: actions/setup-python@v4
3737
with:
3838
python-version: ${{ matrix.python-version }}
3939

@@ -90,11 +90,11 @@ jobs:
9090
runs-on: ubuntu-latest
9191

9292
steps:
93-
- uses: actions/checkout@v1
93+
- uses: actions/checkout@v3
9494

9595
- name: setup python environment
9696
id: setup-python
97-
uses: actions/setup-python@v2
97+
uses: actions/setup-python@v4
9898
with:
9999
python-version: "3.8"
100100

@@ -136,7 +136,7 @@ jobs:
136136
runs-on: ubuntu-latest
137137

138138
steps:
139-
- uses: actions/checkout@v2
139+
- uses: actions/checkout@v3
140140
with:
141141
fetch-depth: 0
142142

@@ -145,7 +145,7 @@ jobs:
145145

146146
- name: setup python environment
147147
id: setup-python
148-
uses: actions/setup-python@v2
148+
uses: actions/setup-python@v4
149149
with:
150150
python-version: "3.8"
151151

@@ -213,15 +213,15 @@ jobs:
213213
needs: package
214214
if: success() && startsWith( github.ref, 'refs/tags/v')
215215
steps:
216-
- uses: actions/checkout@v2
216+
- uses: actions/checkout@v3
217217
with:
218218
fetch-depth: 0
219219

220220
- run: git describe --tag
221221

222222
- name: setup python environment
223223
id: setup-python
224-
uses: actions/setup-python@v2
224+
uses: actions/setup-python@v4
225225
with:
226226
python-version: "3.8"
227227

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ jobs:
2828

2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@v2
31+
uses: actions/checkout@v3
3232

3333
# Initializes the CodeQL tools for scanning.
3434
- name: Initialize CodeQL
35-
uses: github/codeql-action/init@v1
35+
uses: github/codeql-action/init@v2
3636
with:
3737
languages: ${{ matrix.language }}
3838
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -42,7 +42,7 @@ jobs:
4242

4343
- name: setup python environment
4444
id: setup-python
45-
uses: actions/setup-python@v2
45+
uses: actions/setup-python@v4
4646
with:
4747
python-version: "3.8"
4848

@@ -55,7 +55,7 @@ jobs:
5555

5656
- name: Load cached venv
5757
id: cached-poetry-dependencies
58-
uses: actions/cache@v2
58+
uses: actions/cache@v3
5959
with:
6060
path: .venv
6161
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
@@ -70,7 +70,7 @@ jobs:
7070
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
7171
# If this step fails, then you should remove it and run the build manually (see below)
7272
- name: Autobuild
73-
uses: github/codeql-action/autobuild@v1
73+
uses: github/codeql-action/autobuild@v2
7474

7575
# ℹ️ Command-line programs to run using the OS shell.
7676
# 📚 https://git.io/JvXDl

0 commit comments

Comments
 (0)