Skip to content

Commit

Permalink
Pin workflow dependency versions (GoogleCloudPlatform#10256)
Browse files Browse the repository at this point in the history
* Pinned python yaml library versions

* Pinned goimports version in build-downstreams

* Force generation

* Revert "Force generation"

This reverts commit b2d8760.
  • Loading branch information
melinath authored and hao-nan-li committed Apr 9, 2024
1 parent 994965d commit 1a26546
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
restore-keys: |
${{ runner.os }}-go-
- run: go install golang.org/x/tools/cmd/goimports@latest
- run: go install golang.org/x/tools/cmd/goimports@7656c4c657688cae30795365d2a5f30d6f18be7f # v0.19.0

- name: Build ${{ inputs.repo }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mmv1-lint-product-yaml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
fi
- name: Install yamllint
if: ${{ !failure() && steps.pull_request.outputs.yamlfiles != '' }}
run: pip install yamllint
run: pip install yamllint==1.32.0 pyyaml==6.0.1 --no-deps
- name: Lint YAML files
if: ${{ !failure() && steps.pull_request.outputs.yamlfiles != '' }}
run: yamllint -c repo/.yamllint ${{steps.pull_request.outputs.yamlfiles}}

0 comments on commit 1a26546

Please sign in to comment.