Skip to content

Commit 18e31b1

Browse files
chore(deps): update actions/setup-python action to v4 [autoapprove] (#343)
* chore(deps): update actions/setup-python action to v4 [autoapprove] Source-Link: googleapis/synthtool@8e55b32 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:c6c965a4bf40c19011b11f87dbc801a66d3a23fbc6704102be064ef31c51f1c3 * resolve issue with prerelease session Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 03b1d81 commit 18e31b1

6 files changed

Lines changed: 19 additions & 7 deletions

File tree

packages/google-cloud-datastore/.github/.OwlBot.lock.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
16-
digest: sha256:9db98b055a7f8bd82351238ccaacfd3cda58cdf73012ab58b8da146368330021
17-
# created: 2022-07-25T16:02:49.174178716Z
16+
digest: sha256:c6c965a4bf40c19011b11f87dbc801a66d3a23fbc6704102be064ef31c51f1c3
17+
# created: 2022-08-09T15:58:56.463048506Z

packages/google-cloud-datastore/.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- name: Checkout
1111
uses: actions/checkout@v3
1212
- name: Setup Python
13-
uses: actions/setup-python@v3
13+
uses: actions/setup-python@v4
1414
with:
1515
python-version: "3.10"
1616
- name: Install nox
@@ -26,7 +26,7 @@ jobs:
2626
- name: Checkout
2727
uses: actions/checkout@v3
2828
- name: Setup Python
29-
uses: actions/setup-python@v3
29+
uses: actions/setup-python@v4
3030
with:
3131
python-version: "3.10"
3232
- name: Install nox

packages/google-cloud-datastore/.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- name: Checkout
1111
uses: actions/checkout@v3
1212
- name: Setup Python
13-
uses: actions/setup-python@v3
13+
uses: actions/setup-python@v4
1414
with:
1515
python-version: "3.10"
1616
- name: Install nox

packages/google-cloud-datastore/.github/workflows/unittest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Checkout
1414
uses: actions/checkout@v3
1515
- name: Setup Python
16-
uses: actions/setup-python@v3
16+
uses: actions/setup-python@v4
1717
with:
1818
python-version: ${{ matrix.python }}
1919
- name: Install nox
@@ -39,7 +39,7 @@ jobs:
3939
- name: Checkout
4040
uses: actions/checkout@v3
4141
- name: Setup Python
42-
uses: actions/setup-python@v3
42+
uses: actions/setup-python@v4
4343
with:
4444
python-version: "3.10"
4545
- name: Install coverage

packages/google-cloud-datastore/noxfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,7 @@ def prerelease_deps(session):
428428
system_test_path = os.path.join("tests", "system.py")
429429
system_test_folder_path = os.path.join("tests", "system")
430430

431+
env = {}
431432
# Only run system tests if found.
432433
if os.path.exists(system_test_path):
433434
session.run(

packages/google-cloud-datastore/owlbot.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,17 @@ def system(session, disable_grpc):
137137
""",
138138
)
139139

140+
assert 1 == s.replace(
141+
"noxfile.py",
142+
"""\
143+
# Only run system tests if found.
144+
""",
145+
"""\
146+
env = {}
147+
# Only run system tests if found.
148+
""",
149+
)
150+
140151
assert 2 == s.replace(
141152
"noxfile.py",
142153
"""system_test_path,\n""",

0 commit comments

Comments
 (0)