Skip to content

Commit e73d582

Browse files
cclaussTakishima
andauthored
Upgrade GitHub Actions (#450)
* Upgrade GitHub Actions https://github.com/actions/cache/releases https://github.com/actions/checkout/releases https://github.com/actions/setup-python/releases * Update CHANGELOG * Properly update CHANGELOG Co-authored-by: Damien Nguyen <ngn.damien@gmail.com>
1 parent b4b839e commit e73d582

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ${{ matrix.runs-on }}
2626

2727
steps:
28-
- uses: actions/checkout@v2
28+
- uses: actions/checkout@v3
2929

3030
- name: Get history and tags for SCM versioning to work
3131
if: ${{ !env.ACT }}
@@ -34,7 +34,7 @@ jobs:
3434
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
3535
3636
- name: Setup Python ${{ matrix.python }}
37-
uses: actions/setup-python@v2
37+
uses: actions/setup-python@v4
3838
with:
3939
python-version: ${{ matrix.python }}
4040
architecture: 'x64'
@@ -45,7 +45,7 @@ jobs:
4545
echo "::set-output name=dir::$(python -m pip cache dir)"
4646
4747
- name: Cache wheels
48-
uses: actions/cache@v2
48+
uses: actions/cache@v3
4949
with:
5050
path: ${{ steps.pip-cache.outputs.dir }}
5151
key: ${{ runner.os }}-${{ matrix.python }}-pip-${{ hashFiles('**/setup.cfg') }}
@@ -125,7 +125,7 @@ jobs:
125125
container: "silkeh/clang:${{ matrix.clang }}"
126126

127127
steps:
128-
- uses: actions/checkout@v2
128+
- uses: actions/checkout@v3
129129

130130
- name: Get history and tags for SCM versioning to work
131131
if: ${{ !env.ACT }}
@@ -173,7 +173,7 @@ jobs:
173173
container: "gcc:${{ matrix.gcc }}"
174174

175175
steps:
176-
- uses: actions/checkout@v2
176+
- uses: actions/checkout@v3
177177

178178
- name: Get history and tags for SCM versioning to work
179179
if: ${{ !env.ACT }}
@@ -226,7 +226,7 @@ jobs:
226226
run: echo 'keepcache=1' >> /etc/yum.conf
227227

228228
- name: Setup yum cache
229-
uses: actions/cache@v2
229+
uses: actions/cache@v3
230230
with:
231231
path: |
232232
/var/cache/yum/
@@ -251,7 +251,7 @@ jobs:
251251
yum install -y git
252252
git config --global --add safe.directory /__w/ProjectQ/ProjectQ
253253
254-
- uses: actions/checkout@v2
254+
- uses: actions/checkout@v3
255255

256256
- name: Get history and tags for SCM versioning to work
257257
if: ${{ !env.ACT }}
@@ -263,7 +263,7 @@ jobs:
263263
run: mkdir -p ~/.cache/pip
264264

265265
- name: Cache wheels
266-
uses: actions/cache@v2
266+
uses: actions/cache@v3
267267
with:
268268
path: ~/.cache/pip
269269
key: ${{ runner.os }}-centos${{ matrix.centos }}-pip-${{ hashFiles('**/setup.cfg') }}
@@ -293,13 +293,13 @@ jobs:
293293
runs-on: ubuntu-latest
294294

295295
steps:
296-
- uses: actions/checkout@v2
296+
- uses: actions/checkout@v3
297297

298298
- name: Create pip cache dir
299299
run: mkdir -p ~/.cache/pip
300300

301301
- name: Cache wheels
302-
uses: actions/cache@v2
302+
uses: actions/cache@v3
303303
with:
304304
path: ~/.cache/pip
305305
key: ${{ runner.os }}-doc-pip-${{ hashFiles('**/setup.cfg') }}
@@ -311,7 +311,7 @@ jobs:
311311
git fetch --prune --unshallow
312312
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
313313
314-
- uses: actions/setup-python@v2
314+
- uses: actions/setup-python@v4
315315

316316
- name: Install docs & setup requirements
317317
run: |

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
- Python context manager `with flusing(MainEngine()) as eng:`
1313

14+
### Repository
15+
16+
- Update GitHub workflow action versions
17+
1418
## [v0.8.0] - 2022-10-18
1519

1620
### Added

0 commit comments

Comments
 (0)