Skip to content

Fix automatic minimum size for column flexbox (#33248) #44

Fix automatic minimum size for column flexbox (#33248)

Fix automatic minimum size for column flexbox (#33248) #44

Workflow file for this run

name: Main
on:
push:
# Run the entire pipeline for 'main' even though the merge queue already runs checks
# for every change. This just offers an extra layer of testing and covers the case of
# random force pushes.
branches: ["main"]
pull_request:
types: ['opened', 'synchronize']
branches: ["**"]
merge_group:
types: [checks_requested]
workflow_dispatch:
jobs:
build-win:

Check failure on line 17 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / Main

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 17, Col: 3): Error calling workflow 'Loirooriol/servo/.github/workflows/windows.yml@4bf941bc8a0eff281da668dbe550fb52c0e7a983'. The nested job 'runner-select' is requesting 'actions: write, attestations: write, checks: write, contents: write, deployments: write, discussions: write, issues: write, packages: write, pages: write, pull-requests: write, repository-projects: write, statuses: write, security-events: write, id-token: write', but is only allowed 'actions:[...]
name: Windows
if: ${{ github.event_name != 'pull_request' }}
uses: ./.github/workflows/windows.yml
with:
unit-tests: true
secrets: inherit
build-mac:
name: Mac
if: ${{ github.event_name != 'pull_request' }}
uses: ./.github/workflows/mac.yml
with:
unit-tests: true
secrets: inherit
build-linux:
name: Linux
uses: ./.github/workflows/linux.yml
with:
unit-tests: true
wpt-layout: ${{ github.event_name == 'pull_request' && 'none' || '2020' }}
secrets: inherit
lint:
name: Lint
uses: ./.github/workflows/lint.yml
secrets: inherit
build-android:
name: Android
if: ${{ github.event_name != 'pull_request' }}
uses: ./.github/workflows/android.yml
with:
profile: "release"
secrets: inherit
build-ohos:
name: OpenHarmony
if: ${{ github.event_name != 'pull_request' }}
uses: ./.github/workflows/ohos.yml
with:
profile: "release"
build-result:
name: Result
runs-on: ubuntu-latest
if: always()
# needs all build to detect cancellation
needs:
- "build-win"
- "build-mac"
- "build-linux"
- "build-android"
- "build-ohos"
- "lint"
steps:
- name: Merge build timings
uses: actions/upload-artifact/merge@v4
with:
name: cargo-timings
pattern: cargo-timings-*
delete-merged: true
- name: Success
if: ${{ !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') }}
run: exit 0
- name: Failure
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: exit 1