72
72
container-platforms : ${{ steps.container.outputs.platforms }}
73
73
steps :
74
74
- name : Switch to using Python 3.9 by default
75
- uses : actions/setup-python@v2
75
+ uses : actions/setup-python@v3
76
76
with :
77
77
python-version : 3.9
78
78
- name : >-
95
95
- name : Check out src from Git
96
96
if : >-
97
97
steps.request-check.outputs.release-requested != 'true'
98
- uses : actions/checkout@v2
98
+ uses : actions/checkout@v3
99
99
with :
100
100
fetch-depth : 0
101
101
ref : ${{ github.event.inputs.release-commitish }}
@@ -135,7 +135,7 @@ jobs:
135
135
- name : Set up pip cache
136
136
if : >-
137
137
steps.request-check.outputs.release-requested != 'true'
138
- uses : actions/cache@v2.1.7
138
+ uses : actions/cache@v3.0.2
139
139
with :
140
140
path : ${{ steps.pip-cache-dir.outputs.dir }}
141
141
key : >-
@@ -225,7 +225,7 @@ jobs:
225
225
226
226
steps :
227
227
- name : Switch to using Python v3.10
228
- uses : actions/setup-python@v2
228
+ uses : actions/setup-python@v3
229
229
with :
230
230
python-version : ' 3.10'
231
231
- name : >-
@@ -244,7 +244,7 @@ jobs:
244
244
run : >-
245
245
echo "::set-output name=dir::$(pip cache dir)"
246
246
- name : Set up pip cache
247
- uses : actions/cache@v2.1.7
247
+ uses : actions/cache@v3.0.2
248
248
with :
249
249
path : ${{ steps.pip-cache.outputs.dir }}
250
250
key : >-
@@ -266,7 +266,7 @@ jobs:
266
266
tox
267
267
268
268
- name : Grab the source from Git
269
- uses : actions/checkout@v2
269
+ uses : actions/checkout@v3
270
270
with :
271
271
fetch-depth : 0
272
272
ref : ${{ github.event.inputs.release-commitish }}
@@ -313,7 +313,7 @@ jobs:
313
313
'dist/${{ needs.pre-setup.outputs.sdist-artifact-name }}'
314
314
'dist/${{ needs.pre-setup.outputs.wheel-artifact-name }}'
315
315
- name : Store the distribution packages
316
- uses : actions/upload-artifact@v2
316
+ uses : actions/upload-artifact@v3
317
317
with :
318
318
name : python-package-distributions
319
319
# NOTE: Exact expected file names are specified here
@@ -350,7 +350,7 @@ jobs:
350
350
351
351
steps :
352
352
- name : Switch to using Python v3.10
353
- uses : actions/setup-python@v2
353
+ uses : actions/setup-python@v3
354
354
with :
355
355
python-version : ' 3.10'
356
356
- name : >-
@@ -369,7 +369,7 @@ jobs:
369
369
run : >-
370
370
echo "::set-output name=dir::$(pip cache dir)"
371
371
- name : Set up pip cache
372
- uses : actions/cache@v2.1.7
372
+ uses : actions/cache@v3.0.2
373
373
with :
374
374
path : ${{ steps.pip-cache.outputs.dir }}
375
375
key : >-
@@ -391,7 +391,7 @@ jobs:
391
391
tox
392
392
393
393
- name : Grab the source from Git
394
- uses : actions/checkout@v2
394
+ uses : actions/checkout@v3
395
395
with :
396
396
ref : ${{ github.event.inputs.release-commitish }}
397
397
@@ -403,7 +403,7 @@ jobs:
403
403
shell : bash
404
404
- name : Download all the dists
405
405
if : matrix.toxenv == 'metadata-validation'
406
- uses : actions/download-artifact@v2
406
+ uses : actions/download-artifact@v3
407
407
with :
408
408
name : python-package-distributions
409
409
path : dist/
@@ -467,7 +467,7 @@ jobs:
467
467
468
468
steps :
469
469
- name : Switch to using Python v${{ matrix.python }}
470
- uses : actions/setup-python@v2
470
+ uses : actions/setup-python@v3
471
471
with :
472
472
python-version : ${{ matrix.python }}
473
473
- name : >-
@@ -486,7 +486,7 @@ jobs:
486
486
run : >-
487
487
echo "::set-output name=dir::$(pip cache dir)"
488
488
- name : Set up pip cache
489
- uses : actions/cache@v2.1.7
489
+ uses : actions/cache@v3.0.2
490
490
with :
491
491
path : ${{ steps.pip-cache.outputs.dir }}
492
492
key : >-
@@ -508,12 +508,12 @@ jobs:
508
508
tox
509
509
510
510
- name : Grab the source from Git
511
- uses : actions/checkout@v2
511
+ uses : actions/checkout@v3
512
512
with :
513
513
ref : ${{ github.event.inputs.release-commitish }}
514
514
515
515
- name : Download all the dists
516
- uses : actions/download-artifact@v2
516
+ uses : actions/download-artifact@v3
517
517
with :
518
518
name : python-package-distributions
519
519
path : dist/
@@ -537,7 +537,7 @@ jobs:
537
537
--skip-missing-interpreters false
538
538
--skip-pkg-install
539
539
- name : Upload coverage to Codecov
540
- uses : codecov/codecov-action@v2
540
+ uses : codecov/codecov-action@v3
541
541
with :
542
542
flags : pytest, GHA, Python ${{ matrix.python }}, ${{ runner.os }}
543
543
verbose : true
@@ -553,17 +553,17 @@ jobs:
553
553
name : 🐳 Build & Test
554
554
steps :
555
555
- name : Checkout
556
- uses : actions/checkout@v2
556
+ uses : actions/checkout@v3
557
557
with :
558
558
ref : ${{ github.event.inputs.release-commitish }}
559
559
- name : Download all the dists
560
- uses : actions/download-artifact@v2
560
+ uses : actions/download-artifact@v3
561
561
with :
562
562
name : python-package-distributions
563
563
path : dist/
564
564
- name : Set up Docker Buildx
565
565
id : buildx
566
- uses : docker/setup-buildx-action@v1
566
+ uses : docker/setup-buildx-action@v2
567
567
# See https://github.com/docker/buildx/issues/850#issuecomment-996408167
568
568
with :
569
569
version : v0.7.0
@@ -621,15 +621,15 @@ jobs:
621
621
622
622
steps :
623
623
- name : Checkout repository
624
- uses : actions/checkout@v2
624
+ uses : actions/checkout@v3
625
625
with :
626
626
# We must fetch at least the immediate parents so that if this is
627
627
# a pull request then we can checkout the head.
628
628
fetch-depth : 2
629
629
630
630
# Initializes the CodeQL tools for scanning.
631
631
- name : Initialize CodeQL
632
- uses : github/codeql-action/init@v1
632
+ uses : github/codeql-action/init@v2
633
633
with :
634
634
languages : ${{ matrix.language }}
635
635
# If you wish to specify custom queries, you can do so here or in a
@@ -656,7 +656,7 @@ jobs:
656
656
# make release
657
657
658
658
- name : Perform CodeQL Analysis
659
- uses : github/codeql-action/analyze@v1
659
+ uses : github/codeql-action/analyze@v2
660
660
661
661
brew :
662
662
runs-on : ${{ matrix.os }}-latest
@@ -668,9 +668,9 @@ jobs:
668
668
# max-parallel: 1
669
669
fail-fast : false
670
670
steps :
671
- - uses : actions/checkout@v2
671
+ - uses : actions/checkout@v3
672
672
- name : Setup Python
673
- uses : actions/setup-python@v2
673
+ uses : actions/setup-python@v3
674
674
with :
675
675
python-version : ${{ matrix.python }}
676
676
- name : Brew
@@ -690,9 +690,9 @@ jobs:
690
690
# max-parallel: 4
691
691
fail-fast : false
692
692
steps :
693
- - uses : actions/checkout@v2
693
+ - uses : actions/checkout@v3
694
694
- name : Setup Node
695
- uses : actions/setup-node@v2
695
+ uses : actions/setup-node@v3
696
696
with :
697
697
node-version : ${{ matrix.node }}
698
698
- name : Install Dependencies
@@ -720,11 +720,11 @@ jobs:
720
720
python : ['3.10']
721
721
fail-fast : false
722
722
steps :
723
- - uses : actions/checkout@v2
723
+ - uses : actions/checkout@v3
724
724
with :
725
725
fetch-depth : 0
726
726
- name : Setup Python
727
- uses : actions/setup-python@v2
727
+ uses : actions/setup-python@v3
728
728
with :
729
729
python-version : ${{ matrix.python }}
730
730
- name : Install Pip Dependencies
@@ -750,23 +750,23 @@ jobs:
750
750
name : 🐳 ghcr:latest
751
751
steps :
752
752
- name : Checkout
753
- uses : actions/checkout@v2
753
+ uses : actions/checkout@v3
754
754
with :
755
755
ref : ${{ github.event.inputs.release-commitish }}
756
756
- name : Download all the dists
757
- uses : actions/download-artifact@v2
757
+ uses : actions/download-artifact@v3
758
758
with :
759
759
name : python-package-distributions
760
760
path : dist/
761
761
- name : Login to GHCR
762
- uses : docker/login-action@v1
762
+ uses : docker/login-action@v2
763
763
with :
764
764
registry : ghcr.io
765
765
username : ${{ github.actor }}
766
766
password : ${{ secrets.GITHUB_TOKEN }}
767
767
- name : Set up Docker Buildx
768
768
id : buildx
769
- uses : docker/setup-buildx-action@v1
769
+ uses : docker/setup-buildx-action@v2
770
770
# See https://github.com/docker/buildx/issues/850#issuecomment-996408167
771
771
with :
772
772
version : v0.7.0
@@ -832,23 +832,23 @@ jobs:
832
832
name : 🐳 ghcr:openssl
833
833
steps :
834
834
- name : Checkout
835
- uses : actions/checkout@v2
835
+ uses : actions/checkout@v3
836
836
with :
837
837
ref : ${{ github.event.inputs.release-commitish }}
838
838
- name : Download all the dists
839
- uses : actions/download-artifact@v2
839
+ uses : actions/download-artifact@v3
840
840
with :
841
841
name : python-package-distributions
842
842
path : dist/
843
843
- name : Login to GHCR
844
- uses : docker/login-action@v1
844
+ uses : docker/login-action@v2
845
845
with :
846
846
registry : ghcr.io
847
847
username : ${{ github.actor }}
848
848
password : ${{ secrets.GITHUB_TOKEN }}
849
849
- name : Set up Docker Buildx
850
850
id : buildx
851
- uses : docker/setup-buildx-action@v1
851
+ uses : docker/setup-buildx-action@v2
852
852
# See https://github.com/docker/buildx/issues/850#issuecomment-996408167
853
853
with :
854
854
version : v0.7.0
@@ -912,17 +912,17 @@ jobs:
912
912
name : 🐳 docker:latest
913
913
steps :
914
914
- name : Checkout
915
- uses : actions/checkout@v2
915
+ uses : actions/checkout@v3
916
916
with :
917
917
ref : ${{ github.event.inputs.release-commitish }}
918
918
- name : Download all the dists
919
- uses : actions/download-artifact@v2
919
+ uses : actions/download-artifact@v3
920
920
with :
921
921
name : python-package-distributions
922
922
path : dist/
923
923
- name : Set up Docker Buildx
924
924
id : buildx
925
- uses : docker/setup-buildx-action@v1
925
+ uses : docker/setup-buildx-action@v2
926
926
# See https://github.com/docker/buildx/issues/850#issuecomment-996408167
927
927
with :
928
928
version : v0.7.0
@@ -939,7 +939,7 @@ jobs:
939
939
docker buildx inspect
940
940
docker buildx ls
941
941
- name : Login to DockerHub
942
- uses : docker/login-action@v1
942
+ uses : docker/login-action@v2
943
943
with :
944
944
username : abhinavsingh
945
945
password : ${{ secrets.DOCKER_ACCESS_TOKEN }}
@@ -1001,7 +1001,7 @@ jobs:
1001
1001
1002
1002
steps :
1003
1003
- name : Download all the dists
1004
- uses : actions/download-artifact@v2
1004
+ uses : actions/download-artifact@v3
1005
1005
with :
1006
1006
name : python-package-distributions
1007
1007
path : dist/
@@ -1030,7 +1030,7 @@ jobs:
1030
1030
1031
1031
steps :
1032
1032
- name : Download all the dists
1033
- uses : actions/download-artifact@v2
1033
+ uses : actions/download-artifact@v3
1034
1034
with :
1035
1035
name : python-package-distributions
1036
1036
path : dist/
@@ -1052,7 +1052,7 @@ jobs:
1052
1052
1053
1053
steps :
1054
1054
- name : Fetch the src snapshot
1055
- uses : actions/checkout@v2
1055
+ uses : actions/checkout@v3
1056
1056
with :
1057
1057
fetch-depth : 1
1058
1058
ref : ${{ github.event.inputs.release-commitish }}
@@ -1089,15 +1089,15 @@ jobs:
1089
1089
1090
1090
steps :
1091
1091
- name : Download all the dists
1092
- uses : actions/download-artifact@v2
1092
+ uses : actions/download-artifact@v3
1093
1093
with :
1094
1094
name : python-package-distributions
1095
1095
path : dist/
1096
1096
1097
1097
- name : >-
1098
1098
Publish a GitHub Release for
1099
1099
${{ needs.pre-setup.outputs.git-tag }}
1100
- uses: ncipollo/release-action@v1.9 .0
1100
+ uses: ncipollo/release-action@v1.10 .0
1101
1101
with:
1102
1102
allowUpdates: false
1103
1103
artifactErrorsFailBuild: false
0 commit comments