Skip to content

Commit

Permalink
Workflow updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jpeiffer committed May 16, 2024
1 parent 23a4a73 commit 90e3c94
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 40 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: subosito/flutter-action@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publisher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
Expand All @@ -27,7 +27,7 @@ jobs:
uses: peiffer-innovations/actions-flutter-validate@v1

- name: Checkout Schemas
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: peiffer-innovations/flutter_json_schemas
token: ${{ secrets.REPO_TOKEN }}
Expand Down
23 changes: 10 additions & 13 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,22 @@
name: Flutter Pull Request Checker
name: Pull Request Checker

on:
workflow_dispatch:
pull_request:
branches: [main]

permissions:
# Only need to read contents
contents: read
# Require writing security events to upload SARIF file to security tab
security-events: write

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: stable

- name: Run Codegen
run: |
flutter packages get
dart run build_runner build --delete-conflicting-outputs -v
- uses: actions/checkout@v4

- name: Validate
uses: peiffer-innovations/actions-flutter-validate@v1
uses: peiffer-innovations/actions-flutter-validate@v2
2 changes: 1 addition & 1 deletion .github/workflows/update_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

steps:
- name: Dependencies
uses: peiffer-innovations/actions-dart-dependency-updater@v1.0.18
uses: peiffer-innovations/actions-dart-dependency-updater@v1
with:
merge: true
paths: .,example
Expand Down
21 changes: 11 additions & 10 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,29 @@ description: 'Example app for the JsonDynamicWidget library'
publish_to: 'none'
version: '1.0.0+2'

environment:
environment:
sdk: '>=2.19.0 <4.0.0'

dependencies:
flutter:
dependencies:
flutter:
sdk: 'flutter'
json_dynamic_widget: '^7.0.2'
json_dynamic_widget_plugin_rive:
json_dynamic_widget_plugin_rive:
path: '../'
logging: '^1.2.0'

dev_dependencies:
flutter_test:
dev_dependencies:
flutter_lints: '^4.0.0'
flutter_test:
sdk: 'flutter'


flutter:
flutter:
uses-material-design: true
assets:
assets:
- 'assets/pages/'
- 'assets/rives/'

ignore_updates:
ignore_updates:
- 'archive'
- 'async'
- 'boolean_selector'
Expand All @@ -48,5 +48,6 @@ ignore_updates:
- 'term_glyph'
- 'test_api'
- 'typed_data'
- 'uuid'
- 'vector_math'
- 'webdriver'
26 changes: 13 additions & 13 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,36 @@ description: 'A plugin to the JSON Dynamic Widget to provide Rive support to the
homepage: 'https://github.com/peiffer-innovations/json_dynamic_widget_plugin_rive'
version: '4.0.0+4'

environment:
environment:
sdk: '>=2.19.0 <4.0.0'

analyzer:
exclude:
analyzer:
exclude:
- 'lib/generated/**'


dependencies:
dependencies:
child_builder: '^2.0.1'
flutter:
flutter:
sdk: 'flutter'
json_class: '^3.0.0+5'
json_dynamic_widget: '^7.0.2'
json_theme: '^6.3.0'
logging: '^1.2.0'
meta: '^1.9.1'
meta: '^1.12.0'
rive: '^0.11.17'
uuid: '^4.1.0'
uuid: '^4.2.1'

false_secrets:
false_secrets:
- 'example/web/index.html'

dev_dependencies:
dev_dependencies:
build_runner: '^2.4.6'
flutter_lints: '^2.0.3'
flutter_test:
flutter_lints: '^4.0.0'
flutter_test:
sdk: 'flutter'
json_dynamic_widget_codegen: '^1.0.1+1'

ignore_updates:
ignore_updates:
- 'archive'
- 'async'
- 'boolean_selector'
Expand All @@ -56,5 +55,6 @@ ignore_updates:
- 'term_glyph'
- 'test_api'
- 'typed_data'
- 'uuid'
- 'vector_math'
- 'webdriver'

0 comments on commit 90e3c94

Please sign in to comment.