Skip to content

Commit 1964cdb

Browse files
eustascopybara-github
authored andcommitted
ramp up all GH actions plugins
PiperOrigin-RevId: 821598646
1 parent 61605b1 commit 1964cdb

File tree

7 files changed

+22
-19
lines changed

7 files changed

+22
-19
lines changed

.github/workflows/build_test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ jobs:
211211
sudo apt install -y ${EXTRA_PACKAGES}
212212
213213
- name: Checkout the source
214-
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
214+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
215215
with:
216216
submodules: false
217217
fetch-depth: 1
@@ -315,11 +315,13 @@ jobs:
315315
with:
316316
python-version: ${{ matrix.python_version }}
317317

318+
# TODO(eustas): use modern setuptools (split out testing)
318319
- name: Build / Test with Python
319320
if: ${{ matrix.build_system == 'python' }}
320321
run: |
321322
python -VV
322323
python -c "import sys; sys.exit('Invalid python version') if '.'.join(map(str,sys.version_info[0:2])) != '${{ matrix.python_version }}' else True"
324+
pip install setuptools==51.3.3
323325
python setup.py ${{ matrix.py_setuptools_cmd || 'test'}}
324326
325327
build_test_py27:
@@ -343,7 +345,7 @@ jobs:
343345
python2.7 -m pip install distutils-pytest==0.1
344346
345347
- name: Checkout the source
346-
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
348+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
347349
with:
348350
submodules: false
349351
fetch-depth: 1

.github/workflows/codeql.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ jobs:
4040
egress-policy: audit
4141

4242
- name: Checkout repository
43-
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
43+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4444

4545
# Initializes the CodeQL tools for scanning.
4646
- name: Initialize CodeQL
47-
uses: github/codeql-action/init@43750fe4fc4f068f04f2215206e6f6a29c78c763 # v2.14.4
47+
uses: github/codeql-action/init@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v3.29.5
4848
with:
4949
languages: ${{ matrix.language }}
5050
# CodeQL is currently crashing on files with large lists:
@@ -56,7 +56,7 @@ jobs:
5656
5757
- if: matrix.language == 'cpp'
5858
name: Build CPP
59-
uses: github/codeql-action/autobuild@43750fe4fc4f068f04f2215206e6f6a29c78c763 # v2.14.4
59+
uses: github/codeql-action/autobuild@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v3.29.5
6060

6161
- if: matrix.language == 'cpp' || matrix.language == 'java'
6262
name: Build Java
@@ -66,15 +66,15 @@ jobs:
6666
6767
- if: matrix.language == 'javascript'
6868
name: Build JS
69-
uses: github/codeql-action/autobuild@43750fe4fc4f068f04f2215206e6f6a29c78c763 # v2.14.4
69+
uses: github/codeql-action/autobuild@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v3.29.5
7070

7171
- if: matrix.language == 'cpp' || matrix.language == 'python'
7272
name: Build Python
7373
run: |
7474
python setup.py build_ext
7575
7676
- name: Perform CodeQL Analysis
77-
uses: github/codeql-action/analyze@43750fe4fc4f068f04f2215206e6f6a29c78c763 # v2.14.4
77+
uses: github/codeql-action/analyze@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v3.29.5
7878
with:
7979
category: "/language:${{matrix.language}}"
8080
ref: "${{ github.ref != 'master' && github.ref || '/refs/heads/master' }}"

.github/workflows/fuzz.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ jobs:
2727
egress-policy: audit
2828

2929
- name: Build Fuzzers
30-
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
30+
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@3e6a7fd7bcd631647ab9beed1fe0897498e6af39 # 22.09.2025
3131
with:
3232
oss-fuzz-project-name: 'brotli'
3333
dry-run: false
3434

3535
- name: Run Fuzzers
36-
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
36+
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@3e6a7fd7bcd631647ab9beed1fe0897498e6af39 # 22.09.2025
3737
with:
3838
oss-fuzz-project-name: 'brotli'
3939
fuzz-seconds: 600

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
egress-policy: audit
3636

3737
- name: Checkout repository
38-
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
38+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3939

4040
- name: Install tools
4141
run: |

.github/workflows/release.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
egress-policy: audit
7070

7171
- name: Checkout the source
72-
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
72+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
7373
with:
7474
submodules: false
7575
fetch-depth: 1
@@ -85,7 +85,7 @@ jobs:
8585
shell: 'powershell'
8686
run: |
8787
Invoke-WebRequest -Uri "https://github.com/microsoft/vcpkg/archive/refs/tags/${{ env.VCPKG_VERSION }}.zip" -OutFile "vcpkg.zip"
88-
88+
8989
- name: Bootstrap vcpkg
9090
if: steps.cache-vcpkg.outputs.cache-hit != 'true'
9191
shell: 'bash'
@@ -138,7 +138,7 @@ jobs:
138138
139139
- name: Upload binaries to release
140140
if: github.event_name == 'release'
141-
uses: softprops/action-gh-release@62c96d0c4e8a889135c1f3a25910db8dbe0e85f7 # v0.1.15
141+
uses: softprops/action-gh-release@6da8fa9354ddfdc4aeace5fc48d7f679b5214090 # v2.4.1
142142
with:
143143
files: brotli-${{matrix.triplet}}.zip
144144

@@ -156,7 +156,7 @@ jobs:
156156
egress-policy: audit
157157

158158
- name: Checkout the source
159-
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
159+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
160160
with:
161161
submodules: false
162162
fetch-depth: 1
@@ -167,7 +167,7 @@ jobs:
167167
168168
- name: Upload archive to release
169169
if: github.event_name == 'release'
170-
uses: softprops/action-gh-release@62c96d0c4e8a889135c1f3a25910db8dbe0e85f7 # v0.1.15
170+
uses: softprops/action-gh-release@6da8fa9354ddfdc4aeace5fc48d7f679b5214090 # v2.4.1
171171
with:
172172
files: testdata.txz
173173

@@ -186,7 +186,7 @@ jobs:
186186
egress-policy: audit
187187

188188
- name: Checkout the source
189-
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
189+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
190190
with:
191191
submodules: false
192192
fetch-depth: 1

.github/workflows/scorecard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
egress-policy: audit
4343

4444
- name: "Checkout code"
45-
uses: actions/checkout@v4 # v3.1.0
45+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4646
with:
4747
persist-credentials: false
4848

@@ -77,6 +77,6 @@ jobs:
7777

7878
# Upload the results to GitHub's code scanning dashboard.
7979
- name: "Upload to code-scanning"
80-
uses: github/codeql-action/upload-sarif@17573ee1cc1b9d061760f3a006fc4aac4f944fd5 # v2.2.4
80+
uses: github/codeql-action/upload-sarif@17783bfb99b07f70fae080b654aed0c514057477 # v2.23.3
8181
with:
8282
sarif_file: results.sarif

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,8 @@ def build_extension(self, ext):
158158
"Development Status :: 4 - Beta",
159159
"Environment :: Console",
160160
"Intended Audience :: Developers",
161-
"License :: OSI Approved :: MIT License",
161+
# Deprecated, see https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
162+
# "License :: OSI Approved :: MIT License",
162163
"Operating System :: MacOS :: MacOS X",
163164
"Operating System :: Microsoft :: Windows",
164165
"Operating System :: POSIX :: Linux",

0 commit comments

Comments
 (0)