Skip to content

Commit 79005a0

Browse files
committed
fix(ci): update action SHAs in gapic-generator-tests.yml for zizmor and add package-data for py.typed in google-api-core
1 parent b201d3a commit 79005a0

2 files changed

Lines changed: 17 additions & 14 deletions

File tree

.github/workflows/gapic-generator-tests.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131
outputs:
3232
run_generator: ${{ steps.filter.outputs.generator }}
3333
steps:
34-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v4
34+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
3535
with:
3636
persist-credentials: false
37-
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v3
37+
- uses: dorny/paths-filter@d1c1ffe0248fe513906c8e24db8ea791d46f8590 # v3
3838
id: filter
3939
with:
4040
filters: |
@@ -65,11 +65,11 @@ jobs:
6565
logging_scope: ["", "google"]
6666
runs-on: ubuntu-latest
6767
steps:
68-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v4
68+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
6969
with:
7070
persist-credentials: false
7171
- name: Set up Python
72-
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v5
72+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
7373
with:
7474
python-version: "${{ matrix.python }}"
7575
allow-prereleases: true
@@ -98,11 +98,11 @@ jobs:
9898
needs: python_config
9999
runs-on: ubuntu-latest
100100
steps:
101-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v4
101+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
102102
with:
103103
persist-credentials: false
104104
- name: Set up Python
105-
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v5
105+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
106106
with:
107107
python-version: ${{ needs.python_config.outputs.latest_stable_python }}
108108
- name: Install System Deps
@@ -117,11 +117,11 @@ jobs:
117117
needs: python_config
118118
runs-on: ubuntu-latest
119119
steps:
120-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v4
120+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
121121
with:
122122
persist-credentials: false
123123
- name: Set up Python
124-
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v5
124+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
125125
with:
126126
python-version: ${{ needs.python_config.outputs.latest_stable_python }}
127127
- name: Install System Deps
@@ -151,11 +151,11 @@ jobs:
151151
needs: python_config
152152
runs-on: ubuntu-latest
153153
steps:
154-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v4
154+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
155155
with:
156156
persist-credentials: false
157157
- name: Set up Python ${{ needs.python_config.outputs.prerelease_python }}
158-
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v5
158+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
159159
with:
160160
python-version: ${{ needs.python_config.outputs.prerelease_python }}
161161
allow-prereleases: true
@@ -181,11 +181,11 @@ jobs:
181181
python: ${{ fromJSON(needs.python_config.outputs.trimmed_python) }}
182182
runs-on: ubuntu-latest
183183
steps:
184-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v4
184+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
185185
with:
186186
persist-credentials: false
187187
- name: Set up Python
188-
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v5
188+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
189189
with:
190190
python-version: ${{ matrix.python }}
191191
allow-prereleases: true
@@ -221,12 +221,12 @@ jobs:
221221
runs-on: ubuntu-latest
222222
container: gcr.io/gapic-images/googleapis # zizmor: ignore[unpinned-images]
223223
steps:
224-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v4
224+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
225225
with:
226226
persist-credentials: false
227227
- name: Cache Bazel files
228228
id: cache-bazel
229-
uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v4
229+
uses: actions/cache@d4323d455f4799aea6383e50059345091701625f # v4
230230
with:
231231
path: ~/.cache/bazel
232232
# Ensure CACHE_VERSION is defined in the mono-repo secrets!

packages/google-api-core/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ version = { attr = "google.api_core.version.__version__" }
7777
# benchmarks, etc.
7878
include = ["google*"]
7979

80+
[tool.setuptools.package-data]
81+
"*" = ["py.typed"]
82+
8083
[tool.mypy]
8184
python_version = "3.14"
8285
namespace_packages = true

0 commit comments

Comments
 (0)