Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add api workflow #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/api.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: api

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
paths:
- "api/**"
- ".github/workflows/api.yaml"
branches:
- main

jobs:
build:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/dart_package.yml@v1
with:
dart_sdk: 3.5.0
coverage_excludes: "**/*.g.dart"
working_directory: api
analyze_directories: "routes test lib"
4 changes: 2 additions & 2 deletions api/lib/api.dart
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export 'exceptions/exceptions.dart';
export 'extensions/extensions.dart';
export 'src/exceptions/exceptions.dart';
export 'src/extensions/extensions.dart';
2 changes: 1 addition & 1 deletion api/packages/db_client/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ^3.5.0
sdk: ">=3.5.0 <4.0.0"

dependencies:
api_models:
Expand Down
2 changes: 1 addition & 1 deletion api/packages/pass_data_source/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ^3.5.0
sdk: ">=3.5.0 <4.0.0"

dependencies:
api_models:
Expand Down
2 changes: 1 addition & 1 deletion api/packages/user_repository/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ^3.5.0
sdk: ">=3.5.0 <4.0.0"

dependencies:
api_models:
Expand Down
2 changes: 1 addition & 1 deletion packages/api_client/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ^3.5.0
sdk: ">=3.5.0 <4.0.0"

dependencies:
api_models:
Expand Down
2 changes: 1 addition & 1 deletion packages/api_models/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ^3.5.0
sdk: ">=3.5.0 <4.0.0"

dependencies:
equatable: ^2.0.5
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 1.0.0+1
publish_to: none

environment:
sdk: ^3.5.0
sdk: ">=3.5.0 <4.0.0"
flutter: 3.24.1

dependencies:
Expand Down
Loading