Skip to content

Commit 1919ee2

Browse files
committed
chore(ci): revert gapic-generator-tests.yml to origin/main
1 parent 77a80a8 commit 1919ee2

1 file changed

Lines changed: 17 additions & 16 deletions

File tree

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

Lines changed: 17 additions & 16 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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
34+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
3535
with:
3636
persist-credentials: false
37-
- uses: dorny/paths-filter@d1c1ffe0248fe513906c8e24db8ea791d46f8590 # v3
37+
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
68+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
6969
with:
7070
persist-credentials: false
7171
- name: Set up Python
72-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
72+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
7373
with:
7474
python-version: "${{ matrix.python }}"
7575
allow-prereleases: true
@@ -82,7 +82,7 @@ jobs:
8282
run: |
8383
sudo apt-get update && sudo apt-get install -y curl pandoc unzip
8484
sudo mkdir -p /usr/src/protoc/ && sudo chown -R ${USER} /usr/src/
85-
curl --fail --silent --show-error --location --retry 5 --retry-delay 5 --retry-connrefused https://github.com/google/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-x86_64.zip --output /usr/src/protoc/protoc.zip
85+
curl --location https://github.com/google/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-x86_64.zip --output /usr/src/protoc/protoc.zip
8686
cd /usr/src/protoc/ && unzip protoc.zip
8787
sudo ln -s /usr/src/protoc/bin/protoc /usr/local/bin/protoc
8888
- name: Run Nox
@@ -98,11 +98,11 @@ jobs:
9898
needs: python_config
9999
runs-on: ubuntu-latest
100100
steps:
101-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
101+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
102102
with:
103103
persist-credentials: false
104104
- name: Set up Python
105-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
105+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
120+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
121121
with:
122122
persist-credentials: false
123123
- name: Set up Python
124-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
124+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
154+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
155155
with:
156156
persist-credentials: false
157157
- name: Set up Python ${{ needs.python_config.outputs.prerelease_python }}
158-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
158+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
184+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
185185
with:
186186
persist-credentials: false
187187
- name: Set up Python
188-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
188+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
189189
with:
190190
python-version: ${{ matrix.python }}
191191
allow-prereleases: true
@@ -198,7 +198,7 @@ jobs:
198198
run: |
199199
sudo apt-get update && sudo apt-get install -y curl pandoc unzip
200200
sudo mkdir -p /usr/src/protoc/ && sudo chown -R ${USER} /usr/src/
201-
curl --fail --silent --show-error --location --retry 5 --retry-delay 5 --retry-connrefused https://github.com/google/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-x86_64.zip --output /usr/src/protoc/protoc.zip
201+
curl --location https://github.com/google/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-x86_64.zip --output /usr/src/protoc/protoc.zip
202202
cd /usr/src/protoc/ && unzip protoc.zip
203203
sudo ln -s /usr/src/protoc/bin/protoc /usr/local/bin/protoc
204204
- name: Run Tests
@@ -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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
224+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
225225
with:
226226
persist-credentials: false
227227
- name: Cache Bazel files
228228
id: cache-bazel
229-
uses: actions/cache@d4323d455f4799aea6383e50059345091701625f # v4
229+
uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5
230230
with:
231231
path: ~/.cache/bazel
232232
# Ensure CACHE_VERSION is defined in the mono-repo secrets!
@@ -261,3 +261,4 @@ jobs:
261261
exit 1
262262
fi
263263
echo "All checks passed or were successfully skipped."
264+

0 commit comments

Comments
 (0)