Skip to content

Apply background to images in question details (#330) #1949

Apply background to images in question details (#330)

Apply background to images in question details (#330) #1949

name: Code Validation
on:
push:
branches:
- master
pull_request:
# Allow running this workflow manually from the Actions tab
workflow_dispatch:
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run shared environment setup steps
uses: ./.github/actions/environment_setup
- name: Run static analysis and style guideline checks
run: flutter analyze
- name: Check code formatting
# run even if the previous step fails to immediately provide feedback
if: success() || failure()
# exclude generated dart files (see https://github.com/dart-lang/dart_style/issues/864#issuecomment-1164395124)
run: dart format $(find lib test -name "*.dart" -not -name "*.g.dart") --output=none --set-exit-if-changed