Check Upstream Proto Files #312
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
| name: Check Upstream Proto Files | |
| permissions: | |
| contents: read | |
| on: | |
| schedule: | |
| # Every Sunday at 4am. | |
| - cron: '0 4 * * 0' | |
| # Also allow manual triggering from the github UX to revalidate things. | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| path: swift-protobuf | |
| # Don't need the submodules since we are checking against upstream. | |
| - name: Checkout protobufbuffers/protobuf | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: protocolbuffers/protobuf | |
| path: protobuf | |
| - name: Check Upstream Proto Files | |
| working-directory: swift-protobuf | |
| run: make check-proto-files GOOGLE_PROTOBUF_CHECKOUT=../protobuf |