Skip to content

[UX] Reduce the size and padding of menu items in the site switcher dropdown #5903

[UX] Reduce the size and padding of menu items in the site switcher dropdown

[UX] Reduce the size and padding of menu items in the site switcher dropdown #5903

Workflow file for this run

name: test
on:
# Run on PRs and pushes to the default branch.
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: "0 0 * * 0"
# Declare default permissions as read only.
permissions:
contents: read
env:
# Configure analytics reporting for pub.
PUB_ENVIRONMENT: bot.github
jobs:
test:
name: Analyze and test code examples
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- sdk: beta
experimental: false
- sdk: stable
experimental: true
continue-on-error: ${{ matrix.experimental }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- uses: dart-lang/setup-dart@6afc89df92d6eb3834022f73cd65adc8cdfcb92d
with:
sdk: ${{ matrix.sdk }}
- name: Fetch Dart packages
run: dart pub get
continue-on-error: ${{ matrix.experimental }}
# Temporarily disabled due to formatting differences between branches:
# - name: Check Dart code formatting
# run: dart run dash_site format-dart --check
# continue-on-error: ${{ matrix.experimental }}
- name: Analyze Dart code
run: dart run dash_site analyze-dart
continue-on-error: ${{ matrix.experimental }}
- name: Run Dart tests
run: dart run dash_site test-dart
continue-on-error: ${{ matrix.experimental }}
markdown-check:
name: Check Markdown content
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- uses: dart-lang/setup-dart@6afc89df92d6eb3834022f73cd65adc8cdfcb92d
with:
sdk: beta
- name: Fetch Dart packages
run: dart pub get
- name: Check Markdown for any known issues
run: dart run dash_site check-markdown
excerpts:
name: Check if code excerpts are up to date
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- uses: dart-lang/setup-dart@6afc89df92d6eb3834022f73cd65adc8cdfcb92d
with:
sdk: beta
- name: Fetch Dart packages
run: dart pub get
- name: Check if excerpts are up to date
run: dart run dash_site refresh-excerpts --fail-on-update --dry-run
site-variable-scanner:
name: Check if text can be replaced with site variables
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- uses: dart-lang/setup-dart@6afc89df92d6eb3834022f73cd65adc8cdfcb92d
with:
sdk: beta
- name: Fetch Dart packages
run: dart pub get
- name: Check if text can be replaced with site variables
run: dart run dash_site check-site-variable
firebase-validate:
name: Validate Firebase configuration
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- uses: dart-lang/setup-dart@6afc89df92d6eb3834022f73cd65adc8cdfcb92d
with:
sdk: beta
- name: Fetch Dart packages
run: dart pub get
- name: Validate the firebase.json file
run: dart run dash_site verify-firebase-json