Merge pull request #3163 from leptos-rs/undep-mp #2691
This file contains 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: CI Changed Examples | |
on: | |
push: | |
branches: | |
- main | |
- leptos_0.6 | |
pull_request: | |
branches: | |
- main | |
- leptos_0.6 | |
jobs: | |
get-example-changed: | |
uses: ./.github/workflows/get-example-changed.yml | |
get-matrix: | |
needs: [get-example-changed] | |
uses: ./.github/workflows/get-changed-examples-matrix.yml | |
with: | |
example_changed: ${{ fromJSON(needs.get-example-changed.outputs.example_changed) }} | |
test: | |
name: CI | |
needs: [get-example-changed, get-matrix] | |
if: needs.get-example-changed.outputs.example_changed == 'true' | |
strategy: | |
matrix: ${{ fromJSON(needs.get-matrix.outputs.matrix) }} | |
fail-fast: false | |
uses: ./.github/workflows/run-cargo-make-task.yml | |
with: | |
directory: ${{ matrix.directory }} | |
cargo_make_task: "ci" | |
toolchain: stable |