ci: only compare generation on Linux (faster) #2025
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: CI | ||
| on: | ||
| workflow_dispatch: | ||
| pull_request: | ||
| push: | ||
| branches: | ||
| - main | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
| jobs: | ||
| change-detection: | ||
| uses: ./.github/workflows/reusable-change-detection.yml | ||
| cookie: | ||
| needs: change-detection | ||
| if: fromJSON(needs.change-detection.outputs.run-cookie) | ||
| uses: ./.github/workflows/reusable-cookie.yml | ||
|
Check failure on line 21 in .github/workflows/ci.yml
|
||
| rr-tests: | ||
| needs: change-detection | ||
| if: fromJSON(needs.change-detection.outputs.run-rr) | ||
| uses: ./.github/workflows/reusable-rr-tests.yml | ||
| pass: | ||
| if: always() | ||
| needs: | ||
| - change-detection | ||
| - cookie | ||
| - rr-tests | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Decide whether the needed jobs succeeded or failed | ||
| uses: re-actors/alls-green@release/v1 | ||
| with: | ||
| allowed-skips: >- | ||
| ${{ | ||
| fromJSON(needs.change-detection.outputs.run-cookie) | ||
| && '' | ||
| || ' | ||
| cookie, | ||
| ' | ||
| }} ${{ | ||
| fromJSON(needs.change-detection.outputs.run-rr) | ||
| && '' | ||
| || ' | ||
| rr-tests, | ||
| ' | ||
| }} | ||
| jobs: ${{ toJSON(needs) }} | ||