Skip to content

Commit e07927a

Browse files
committed
ci: simplify workflow, remove coverage check
Replaced very_good_workflows with simpler custom workflow that: - Runs flutter pub get - Checks formatting - Runs analysis - Runs tests (without coverage requirements) - Keeps spell check
1 parent b103135 commit e07927a

1 file changed

Lines changed: 22 additions & 9 deletions

File tree

.github/workflows/main.yaml

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: aveditor
22

33
concurrency:
4-
group: $-$
4+
group: ${{ github.workflow }}-${{ github.ref }}
55
cancel-in-progress: true
66

77
on:
@@ -13,18 +13,31 @@ on:
1313
- main
1414

1515
jobs:
16-
semantic-pull-request:
17-
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/semantic_pull_request.yml@v1
18-
1916
build:
20-
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
21-
with:
22-
flutter_channel: stable
23-
min_coverage: 0
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- uses: subosito/flutter-action@v2
22+
with:
23+
flutter-version: '3.38.7'
24+
channel: 'stable'
25+
26+
- name: Install Dependencies
27+
run: flutter pub get
28+
29+
- name: Format
30+
run: dart format --set-exit-if-changed lib test
31+
32+
- name: Analyze
33+
run: flutter analyze lib test
34+
35+
- name: Test
36+
run: flutter test
2437

2538
spell-check:
2639
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/spell_check.yml@v1
2740
with:
2841
includes: |
2942
**/*.md
30-
modified_files_only: false
43+
modified_files_only: false

0 commit comments

Comments
 (0)