chore(deps): update dependency protoc to v34.1 #5063
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
| name: Build | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUST_BACKTRACE: "full" | |
| permissions: | |
| contents: write | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build-base: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-24.04, windows-2022, macos-15] | |
| steps: | |
| - run: git config --system core.longpaths true | |
| if: runner.os == 'Windows' | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| submodules: true | |
| # - uses: testspace-com/setup-testspace@v1 | |
| # with: | |
| # domain: ${{github.repository_owner}} | |
| - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 | |
| - uses: jdx/mise-action@c1ecc8f748cd28cdeabf76dab3cccde4ce692fe4 # v4.0.0 | |
| - name: Install requirements | |
| run: just install-requirements | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Cache Pulumi providers | |
| uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 | |
| with: | |
| path: ~/.pulumi/plugins | |
| key: ${{ matrix.os }}-pulumi-${{ hashFiles('regenerator/src/main.rs') }} | |
| restore-keys: | | |
| ${{ matrix.os }}-pulumi- | |
| - run: just base-ci-flow | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Upload coverage data to codecov | |
| uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5.5.3 | |
| with: | |
| files: covertura.xml | |
| fail_ci_if_error: true | |
| - name: Upload test results to Codecov | |
| if: ${{ !cancelled() }} | |
| uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5.5.3 | |
| with: | |
| files: target/nextest/default/junit.xml | |
| fail_ci_if_error: true | |
| report_type: test_results | |
| # - name: Publish Results to Testspace | |
| # run: testspace "[ examples/${{ matrix.os }} ]target/nextest/default/junit.xml" | |
| - run: git add . && git diff | |
| - run: git diff --cached | |
| - name: Ensure no files have changed | |
| run: git add . && git diff --quiet && git diff --cached --quiet | |
| build-generated-provider: | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # DO NOT EDIT - PROVIDER START | |
| provider: [array-of-enum-map, azure-native-nested-types, cloudflare, cyclic-types, different-enum, docker, functions-secrets, mini-awsnative, nested-module, nested-module-thirdparty, output-funcs, output-funcs-edgeorder, plain-object-defaults, plain-object-disable-defaults, provider_as_function_parameter, random, reserved_names, unions-inline, unions-inside-arrays, workarounds, aws-0, aws-1, aws-2, aws-3, aws-4, aws-5, aws-6, aws-7, aws-8, aws-9, aws-10, aws-11, aws-12, aws-13, aws-14, aws-15, aws-16, aws-17, aws-18, aws-19, aws-20, aws-21, azure-0, azure-1, azure-2, azure-3, azure-4, azure-5, azure-6, azure-7, azure-8, azure-9, azure-10, azure-11, azure-12, azure-13, filtering-0, filtering-1, filtering-2, gcp-0, gcp-1, gcp-2, gcp-3, gcp-4, gcp-5, gcp-6, gcp-7, gcp-8, gcp-9, gcp-10, gcp-11, gcp-12, gcp-13] | |
| # DO NOT EDIT - PROVIDER END | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| submodules: true | |
| # - uses: testspace-com/setup-testspace@v1 | |
| # with: | |
| # domain: ${{github.repository_owner}} | |
| - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 | |
| with: | |
| lookup-only: "true" | |
| save-if: "false" | |
| - uses: jdx/mise-action@c1ecc8f748cd28cdeabf76dab3cccde4ce692fe4 # v4.0.0 | |
| - name: Install requirements | |
| run: just install-requirements | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - run: just test-provider-compilation ${{ matrix.provider }} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Upload coverage data to codecov | |
| uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5.5.3 | |
| with: | |
| files: covertura.xml | |
| fail_ci_if_error: true | |
| - name: Upload test results to Codecov | |
| if: ${{ !cancelled() }} | |
| uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5.5.3 | |
| with: | |
| files: target/nextest/default/junit.xml | |
| fail_ci_if_error: true | |
| report_type: test_results | |
| # - name: Publish Results to Testspace | |
| # run: testspace "[ provider/${{ matrix.provider }} ]target/nextest/default/junit.xml" | |
| - run: git add . && git diff | |
| - run: git diff --cached | |
| - name: Ensure no files have changed | |
| run: git add . && git diff --quiet && git diff --cached --quiet | |
| build-housekeeping: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-24.04, windows-2022, macos-15] | |
| steps: | |
| - run: git config --system core.longpaths true | |
| if: runner.os == 'Windows' | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| submodules: true | |
| - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 | |
| - uses: jdx/mise-action@c1ecc8f748cd28cdeabf76dab3cccde4ce692fe4 # v4.0.0 | |
| - name: Install requirements | |
| run: just install-requirements | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 | |
| with: | |
| go-version: '^1.22.0' | |
| cache-dependency-path: "**/go.sum" | |
| - run: pulumi login --local | |
| - name: Cache Pulumi providers | |
| uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 | |
| with: | |
| path: ~/.pulumi/plugins | |
| key: ${{ matrix.os }}-pulumi-${{ hashFiles('regenerator/src/main.rs') }} | |
| restore-keys: | | |
| ${{ matrix.os }}-pulumi- | |
| - run: just housekeeping-ci-flow | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - run: git add . && git diff | |
| - run: git diff --cached | |
| - name: Ensure no files have changed | |
| run: git add . && git diff --quiet && git diff --cached --quiet | |
| build-rust-docs: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - run: git config --system core.longpaths true | |
| if: runner.os == 'Windows' | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| submodules: true | |
| - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 | |
| - uses: jdx/mise-action@c1ecc8f748cd28cdeabf76dab3cccde4ce692fe4 # v4.0.0 | |
| - name: Install requirements | |
| run: just install-requirements | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - run: pulumi login --local | |
| - uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 | |
| with: | |
| go-version: '^1.22.0' | |
| cache-dependency-path: "**/go.sum" | |
| - name: Cache Pulumi providers | |
| uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 | |
| with: | |
| path: ~/.pulumi/plugins | |
| key: ${{ matrix.os }}-pulumi-${{ hashFiles('regenerator/src/main.rs') }} | |
| restore-keys: | | |
| ${{ matrix.os }}-pulumi- | |
| - run: just test-docs-ci-flow | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - run: git add . && git diff | |
| - run: git diff --cached | |
| - name: Ensure no files have changed | |
| run: git add . && git diff --quiet && git diff --cached --quiet | |
| build-wasm: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-24.04, windows-2022, macos-15] | |
| steps: | |
| - run: git config --system core.longpaths true | |
| if: runner.os == 'Windows' | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| submodules: true | |
| # - uses: testspace-com/setup-testspace@v1 | |
| # with: | |
| # domain: ${{github.repository_owner}} | |
| - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 | |
| with: | |
| shared-key: build-examples | |
| - uses: jdx/mise-action@c1ecc8f748cd28cdeabf76dab3cccde4ce692fe4 # v4.0.0 | |
| - run: pulumi login --local | |
| - name: Pull required docker images | |
| if: runner.os == 'Linux' | |
| uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2 | |
| with: | |
| timeout_minutes: 10 | |
| max_attempts: 10 | |
| command: docker pull public.ecr.aws/ubuntu/ubuntu:latest | |
| - uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 | |
| with: | |
| go-version: '^1.22.0' | |
| cache-dependency-path: "**/go.sum" | |
| - run: go version | |
| - name: Install requirements | |
| run: just install-requirements | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - run: just wasm-ci-flow | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - run: git add . && git diff | |
| - run: git diff --cached | |
| - name: Ensure no files have changed | |
| run: git add . && git diff --quiet && git diff --cached --quiet | |
| build-c: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-24.04, windows-2022, macos-15] | |
| steps: | |
| - run: git config --system core.longpaths true | |
| if: runner.os == 'Windows' | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| submodules: true | |
| - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 | |
| - uses: jdx/mise-action@c1ecc8f748cd28cdeabf76dab3cccde4ce692fe4 # v4.0.0 | |
| - name: Install requirements | |
| run: just install-requirements | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - run: pulumi login --local | |
| - uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 | |
| with: | |
| go-version: '^1.22.0' | |
| cache-dependency-path: "**/go.sum" | |
| - run: just c-ci-flow | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - run: git add . && git diff | |
| - run: git diff --cached | |
| - name: Ensure no files have changed | |
| run: git add . && git diff --quiet && git diff --cached --quiet | |
| build-native: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-24.04, windows-2022, macos-15] | |
| steps: | |
| - run: git config --system core.longpaths true | |
| if: runner.os == 'Windows' | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| submodules: true | |
| - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 | |
| - uses: jdx/mise-action@c1ecc8f748cd28cdeabf76dab3cccde4ce692fe4 # v4.0.0 | |
| - name: Install requirements | |
| run: just install-requirements | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - run: pulumi login --local | |
| - uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 | |
| with: | |
| go-version: '^1.22.0' | |
| cache-dependency-path: "**/go.sum" | |
| - name: Pull required docker images | |
| if: runner.os == 'Linux' | |
| uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2 | |
| with: | |
| timeout_minutes: 10 | |
| max_attempts: 10 | |
| command: docker pull public.ecr.aws/ubuntu/ubuntu:latest | |
| - run: just native-ci-flow | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - run: git add . && git diff | |
| - run: git diff --cached | |
| - name: Ensure no files have changed | |
| run: git add . && git diff --quiet && git diff --cached --quiet |