Skip to content

Commit 7bd6056

Browse files
authored
ci: Setup cicd pipeline (#6)
* Add dependabot for dependency updates * Add github workflow for PRs & main * Fix analysis errors and ignore protobuf output
1 parent 648dfda commit 7bd6056

File tree

4 files changed

+39
-5
lines changed

4 files changed

+39
-5
lines changed

.github/dependabot.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: 2
2+
enable-beta-ecosystems: true
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"
8+
day: "tuesday"
9+
time: "20:00"
10+
- package-ecosystem: "pub"
11+
directory: "/"
12+
schedule:
13+
interval: "weekly"
14+
day: "tuesday"
15+
time: "20:00"

.github/workflows/main.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: ci
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+
build:
17+
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/dart_package.yml@v1
18+
with:
19+
coverage_excludes: "*.pb*.dart"
20+
min_coverage: 0

analysis_options.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@ include: package:lints/recommended.yaml
1919
# rules:
2020
# - camel_case_types
2121

22-
# analyzer:
23-
# exclude:
24-
# - path/to/excluded/files/**
25-
22+
analyzer:
23+
exclude:
24+
- lib/src/nitric/**
2625
# For more information about the core and recommended set of lints, see
2726
# https://dart.dev/go/core-lints
2827

lib/src/context/blobevent.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class BlobEventResponse extends TriggerResponse {
3737
BlobEventResponse([this.success = true]);
3838

3939
/// Converts this blob event response to a gRPC response.
40-
@protected
40+
@internal
4141
$bp.BlobEventResponse toWire() {
4242
return $bp.BlobEventResponse(success: success);
4343
}

0 commit comments

Comments
 (0)