-
Notifications
You must be signed in to change notification settings - Fork 15
38 lines (35 loc) · 1.16 KB
/
celest_cloud.yaml
File metadata and controls
38 lines (35 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: celest_cloud
on:
pull_request:
paths:
- ".github/workflows/celest_cloud.yaml"
- "packages/celest_cloud/**"
# 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
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Git Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # 5.0.0
with:
submodules: recursive
- name: Setup Flutter
uses: subosito/flutter-action@fd55f4c5af5b953cc57a2be44cb082c8f6635e8e # 2.21.0
with:
cache: true
- name: Get Packages
working-directory: packages/celest_cloud
run: dart pub upgrade
- name: Analyze
working-directory: packages/celest_cloud
run: dart analyze --fatal-infos --fatal-warnings .
- name: Format
working-directory: packages/celest_cloud
run: dart format --set-exit-if-changed .