-
Notifications
You must be signed in to change notification settings - Fork 551
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
introduce a common package:dartpad_shared package
- Loading branch information
1 parent
15bf0af
commit 53bf014
Showing
30 changed files
with
582 additions
and
875 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
pkgs/dart_pad/lib/src/api_model.dart linguist-generated=true | ||
pkgs/dart_pad/lib/src/protos/** linguist-generated=true | ||
pkgs/sketch_pad/lib/src/api_model.dart linguist-generated=true | ||
pkgs/sketch_pad/lib/src/protos/** linguist-generated=true | ||
pkgs/sketch_pad/web/codemirror/** linguist-generated=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: package:dartpad_shared | ||
|
||
permissions: read-all | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
paths: | ||
- '.github/workflows/dartpad_shared.yml' | ||
- 'pkgs/dartpad_shared/**' | ||
pull_request: | ||
branches: [ main ] | ||
paths: | ||
- '.github/workflows/dartpad_shared.yml' | ||
- 'pkgs/dartpad_shared/**' | ||
schedule: | ||
- cron: '0 0 * * 0' # weekly | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: pkgs/dartpad_shared/ | ||
|
||
steps: | ||
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 | ||
- uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f | ||
|
||
- name: Install dart dependencies | ||
run: dart pub get | ||
|
||
- name: Verify formatting | ||
run: dart format --output=none --set-exit-if-changed . | ||
|
||
- name: Regenerate model classes | ||
run: dart run build_runner build --delete-conflicting-outputs | ||
|
||
- name: Analyze project source | ||
run: dart analyze --fatal-infos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.