Skip to content

Commit 064cdf9

Browse files
ci(backport): Update GitHub Actions (#2421)
* Backport: - PR #2387 - PR #2388 - PR #2389 - PR #2400 - PR #2403 - PR #2404 - PR #2405 - PR #2409 - PR #2410 - PR #2413
1 parent 2a47426 commit 064cdf9

File tree

10 files changed

+26
-22
lines changed

10 files changed

+26
-22
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ updates:
55
directory: "/"
66
schedule:
77
interval: "weekly"
8+
groups:
9+
actions:
10+
patterns:
11+
- "*"
812
labels:
913
- "github-actions"
1014
- "dependencies"

.github/workflows/bump-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ jobs:
198198
199199
- name: Set up Python 3.11
200200
if: success()
201-
uses: actions/setup-python@v4
201+
uses: actions/setup-python@v5
202202
with:
203203
python-version: '3.11'
204204

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- uses: actions/checkout@v4
3737

3838
- name: Set up Python ${{ matrix.python-version }}
39-
uses: actions/setup-python@v4
39+
uses: actions/setup-python@v5
4040
with:
4141
python-version: ${{ matrix.python-version }}
4242

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
# Initializes the CodeQL tools for scanning.
2828
- name: Initialize CodeQL
29-
uses: github/codeql-action/init@v2
29+
uses: github/codeql-action/init@v3
3030
with:
3131
languages: python
3232
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -35,4 +35,4 @@ jobs:
3535
# queries: ./path/to/local/query, your-org/your-repo/queries@main
3636

3737
- name: Perform CodeQL Analysis
38-
uses: github/codeql-action/analyze@v2
38+
uses: github/codeql-action/analyze@v3

.github/workflows/dependencies-head.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- uses: actions/checkout@v4
2424

2525
- name: Set up Python ${{ matrix.python-version }}
26-
uses: actions/setup-python@v4
26+
uses: actions/setup-python@v5
2727
with:
2828
python-version: ${{ matrix.python-version }}
2929

@@ -49,7 +49,7 @@ jobs:
4949
- uses: actions/checkout@v4
5050

5151
- name: Set up Python ${{ matrix.python-version }}
52-
uses: actions/setup-python@v4
52+
uses: actions/setup-python@v5
5353
with:
5454
python-version: ${{ matrix.python-version }}
5555

@@ -78,7 +78,7 @@ jobs:
7878
steps:
7979
- uses: actions/checkout@v4
8080
- name: Set up Python ${{ matrix.python-version }}
81-
uses: actions/setup-python@v4
81+
uses: actions/setup-python@v5
8282
with:
8383
python-version: ${{ matrix.python-version }}
8484
- name: Install dependencies
@@ -104,7 +104,7 @@ jobs:
104104
steps:
105105
- uses: actions/checkout@v4
106106
- name: Set up Python ${{ matrix.python-version }}
107-
uses: actions/setup-python@v4
107+
uses: actions/setup-python@v5
108108
with:
109109
python-version: ${{ matrix.python-version }}
110110
- name: Install dependencies
@@ -130,7 +130,7 @@ jobs:
130130
- uses: actions/checkout@v4
131131

132132
- name: Set up Python ${{ matrix.python-version }}
133-
uses: actions/setup-python@v4
133+
uses: actions/setup-python@v5
134134
with:
135135
python-version: ${{ matrix.python-version }}
136136

@@ -165,7 +165,7 @@ jobs:
165165
steps:
166166
- uses: actions/checkout@v4
167167
- name: Set up Python ${{ matrix.python-version }}
168-
uses: actions/setup-python@v4
168+
uses: actions/setup-python@v5
169169
with:
170170
python-version: ${{ matrix.python-version }}
171171
- name: Install dependencies

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
fetch-depth: 0
2626

2727
- name: Set up Python
28-
uses: actions/setup-python@v4
28+
uses: actions/setup-python@v5
2929
with:
3030
python-version: '3.11'
3131

@@ -94,7 +94,7 @@ jobs:
9494
done
9595
9696
- name: Upload artifact
97-
uses: actions/upload-pages-artifact@v2
97+
uses: actions/upload-pages-artifact@v3
9898
with:
9999
path: 'docs/_build/html'
100100

@@ -116,8 +116,8 @@ jobs:
116116

117117
steps:
118118
- name: Setup Pages
119-
uses: actions/configure-pages@v3
119+
uses: actions/configure-pages@v4
120120

121121
- name: Deploy to GitHub Pages
122122
id: deployment
123-
uses: actions/deploy-pages@v2
123+
uses: actions/deploy-pages@v4

.github/workflows/lower-bound-requirements.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/checkout@v4
2121

2222
- name: Set up Python ${{ matrix.python-version }}
23-
uses: actions/setup-python@v4
23+
uses: actions/setup-python@v5
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626

.github/workflows/notebooks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/checkout@v4
2323

2424
- name: Set up Python
25-
uses: actions/setup-python@v4
25+
uses: actions/setup-python@v5
2626
with:
2727
python-version: ${{ matrix.python-version }}
2828

.github/workflows/publish-package.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
fetch-depth: 0
3838

3939
- name: Set up Python 3.11
40-
uses: actions/setup-python@v4
40+
uses: actions/setup-python@v5
4141
with:
4242
python-version: '3.11'
4343

@@ -98,7 +98,7 @@ jobs:
9898
run: python -m zipfile --list dist/pyhf-*.whl
9999

100100
- name: Upload distribution artifact
101-
uses: actions/upload-artifact@v3
101+
uses: actions/upload-artifact@v4
102102
with:
103103
name: dist-artifact
104104
path: dist
@@ -118,7 +118,7 @@ jobs:
118118

119119
steps:
120120
- name: Download distribution artifact
121-
uses: actions/download-artifact@v3
121+
uses: actions/download-artifact@v4
122122
with:
123123
name: dist-artifact
124124
path: dist
@@ -132,13 +132,13 @@ jobs:
132132
if: >-
133133
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'scikit-hep/pyhf')
134134
|| (github.event_name == 'workflow_dispatch' && github.event.inputs.publish == 'true' && github.repository == 'scikit-hep/pyhf')
135-
uses: pypa/[email protected].10
135+
uses: pypa/[email protected].11
136136
with:
137137
repository-url: https://test.pypi.org/legacy/
138138
print-hash: true
139139

140140
- name: Publish distribution 📦 to PyPI
141141
if: github.event_name == 'release' && github.event.action == 'published' && github.repository == 'scikit-hep/pyhf'
142-
uses: pypa/[email protected].10
142+
uses: pypa/[email protected].11
143143
with:
144144
print-hash: true

.github/workflows/release_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- uses: actions/checkout@v4
2828

2929
- name: Set up Python ${{ matrix.python-version }}
30-
uses: actions/setup-python@v4
30+
uses: actions/setup-python@v5
3131
with:
3232
python-version: ${{ matrix.python-version }}
3333

0 commit comments

Comments
 (0)