Skip to content

Commit 21bfe5a

Browse files
authored
feat: update very good analysis, add workflows (#40)
1 parent dc84e91 commit 21bfe5a

File tree

6 files changed

+58
-37
lines changed

6 files changed

+58
-37
lines changed

.github/cspell.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"version": "0.2",
3+
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
4+
"dictionaries": [
5+
"vgv_allowed",
6+
"vgv_forbidden"
7+
],
8+
"dictionaryDefinitions": [
9+
{
10+
"name": "vgv_allowed",
11+
"path": "https://raw.githubusercontent.com/verygoodopensource/very_good_dictionaries/main/allowed.txt",
12+
"description": "Allowed VGV Spellings"
13+
},
14+
{
15+
"name": "vgv_forbidden",
16+
"path": "https://raw.githubusercontent.com/verygoodopensource/very_good_dictionaries/main/forbidden.txt",
17+
"description": "Forbidden VGV Spellings"
18+
}
19+
],
20+
"useGitignore": true,
21+
"words": [
22+
23+
]
24+
}

.github/workflows/main.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: pub_updater
2+
3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
7+
on:
8+
push:
9+
branches:
10+
- main
11+
pull_request:
12+
branches:
13+
- main
14+
15+
jobs:
16+
semantic-pull-request:
17+
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/semantic_pull_request.yml@v1
18+
19+
build:
20+
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/dart_package.yml@v1
21+
22+
spell-check:
23+
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/spell_check.yml@v1
24+
with:
25+
includes: |
26+
**/*.{md,yaml}
27+
!.dart_tool/**/*.yaml
28+
.*/**/*.yml
29+
modified_files_only: false
30+
31+
pana_score:
32+
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/pana.yml@v1

.github/workflows/pub_updater.yaml

Lines changed: 0 additions & 33 deletions
This file was deleted.

analysis_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include: package:very_good_analysis/analysis_options.2.4.0.yaml
1+
include: package:very_good_analysis/analysis_options.4.0.0.yaml

lib/pub_updater.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
library pub_updater;
2-
31
export 'src/pub_updater.dart';

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ dev_dependencies:
1616
json_serializable: ^6.5.3
1717
mocktail: ^0.3.0
1818
test: ^1.17.0
19-
very_good_analysis: ^2.4.0
19+
very_good_analysis: ^4.0.0

0 commit comments

Comments
 (0)