Skip to content

Hopefully fix CI

Hopefully fix CI #2

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
check-format:
name: Check format using flutter format
runs-on: ubuntu-latest
container: ghcr.io/cirruslabs/flutter:stable
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install melos
run:
- flutter pub global activate melos

Check failure on line 19 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 19, Col: 11): A sequence was not expected .github/workflows/ci.yml (Line: 37, Col: 11): A sequence was not expected
- echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH
- echo "$HOME/AppData/Local/Pub/Cache/bin" >> $GITHUB_PATH
- name: Initialize workspace
run: melos bootstrap
- name: Check format
run: melos exec -- dart format --output=none --set-exit-if-changed .
lint:
name: Lint
runs-on: ubuntu-latest
container: ghcr.io/cirruslabs/flutter:stable
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install melos
run:
- flutter pub global activate melos
- echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH
- echo "$HOME/AppData/Local/Pub/Cache/bin" >> $GITHUB_PATH
- name: Initialize workspace
run: melos bootstrap
- name: Lint using flutter analyze
run: melos exec -- flutter analyze