-
Notifications
You must be signed in to change notification settings - Fork 15
45 lines (36 loc) · 963 Bytes
/
Copy pathci.yml
File metadata and controls
45 lines (36 loc) · 963 Bytes
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
39
40
41
42
43
44
45
# Continuous integration — fast feedback on every push/PR.
#
# CI deliberately tracks the latest Flutter stable so upstream breakage shows up
# here first. Release builds pin an exact version (see release.yml).
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
analyze-and-test:
name: Analyze & test
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
- name: Flutter version
run: flutter --version
- name: Install dependencies
run: flutter pub get
- name: Analyze
run: flutter analyze --no-fatal-infos
- name: Test
run: flutter test