Skip to content

chore(deps): bump subosito/flutter-action from 2.16.0 to 2.17.0 #245

chore(deps): bump subosito/flutter-action from 2.16.0 to 2.17.0

chore(deps): bump subosito/flutter-action from 2.16.0 to 2.17.0 #245

Workflow file for this run

name: celest_core
on:
pull_request:
paths:
- ".github/workflows/celest_core.yaml"
- "packages/celest_core/**"
# Prevent duplicate runs due to Graphite
# https://graphite.dev/docs/troubleshooting#why-are-my-actions-running-twice
concurrency:
group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}-${{ github.ref == 'refs/heads/main' && github.sha || ''}}
cancel-in-progress: true
jobs:
analyze_and_format:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Git Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # 4.2.1
- name: Setup Flutter
uses: subosito/flutter-action@74af56c5ed2697ba4621264652728e8d217e53d3 # 2.17.0
with:
cache: true
- name: Setup Melos
run: dart pub global activate melos
- name: Get Packages
run: melos bootstrap
- name: Analyze
working-directory: packages/celest_core
run: dart analyze
- name: Format
working-directory: packages/celest_core
run: dart format --set-exit-if-changed .
test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Git Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # 4.2.1
- name: Setup Flutter
uses: subosito/flutter-action@74af56c5ed2697ba4621264652728e8d217e53d3 # 2.17.0
with:
cache: true
- name: Setup Melos
run: dart pub global activate melos
- name: Get Packages
run: melos bootstrap
- name: Test
working-directory: packages/celest_core
run: dart test
- name: Test (Chrome, dart2js)
working-directory: packages/celest_core
run: dart test -p chrome
- name: Test (Chrome, dart2wasm)
working-directory: packages/celest_core
run: dart test -p chrome -c dart2wasm