Skip to content

Commit 5d95683

Browse files
authored
ci(librarian): run librarian tidy when update librarian googleapis (#13699)
As discussed, add `librarian tidy` to daily workflow that updates source and regenerates.
1 parent fcaf586 commit 5d95683

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/update_librarian_googleapis.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,10 @@ jobs:
7474
run: |
7575
version=$(go run github.com/googleapis/librarian/cmd/librarian@latest config get version)
7676
echo "version=${version}" >> $GITHUB_OUTPUT
77-
- name: Run librarian update
77+
- name: Run librarian update & tidy
7878
run: |
7979
go run "github.com/googleapis/librarian/cmd/librarian@${STEPS_LIBRARIAN_OUTPUTS_VERSION}" update sources.googleapis
80+
go run "github.com/googleapis/librarian/cmd/librarian@${{ steps.librarian.outputs.version }}" tidy
8081
env:
8182
STEPS_LIBRARIAN_OUTPUTS_VERSION: ${{ steps.librarian.outputs.version }}
8283
- name: Get latest commit

0 commit comments

Comments
 (0)