Update module google.golang.org/grpc to v1.83.1 [SECURITY] #4243
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Copyright 2023 LiveKit, Inc. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, | |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| # See the License for the specific language governing permissions and | |
| # limitations under the License. | |
| name: Generate | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches-ignore: [main] | |
| permissions: | |
| contents: write # Required to commit the regenerated output | |
| jobs: | |
| generate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| # Pinned exactly, not floated: protoc stamps its version into every generated | |
| # file, so a release bump rewrites the committed output. Moving this is a | |
| # deliberate edit whose header churn is reviewable on its own. | |
| - name: Install Protoc | |
| uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0 | |
| with: | |
| version: "35.1" | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Set up Go | |
| uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 | |
| with: | |
| go-version-file: "go.mod" | |
| - name: Download Go modules | |
| run: go mod download | |
| # The protoc plugins and mage itself come from the tool directives in go.mod, so | |
| # generation runs the versions pinned there instead of whatever is latest today. | |
| - name: Generate Protobuf | |
| run: go tool mage proto | |
| - uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10 | |
| - name: Use Node.js 20 | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: 24 | |
| cache: "pnpm" | |
| - name: Install JS dependencies | |
| run: pnpm install | |
| - name: Test generate JS files | |
| run: | | |
| pnpm --filter @livekit/protocol run generate:proto | |
| - name: Add changes | |
| uses: EndBug/add-and-commit@645ecc0dd0a57f4d86d26c0aa5fc42c0a856fbca # v11.0.0 | |
| with: | |
| add: '["livekit", "replay", "rpc", "infra", "packages/javascript/src/gen"]' | |
| default_author: github_actions | |
| message: generated protobuf |