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 305d212 commit ff79eb0
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 65 deletions.
19 changes: 0 additions & 19 deletions .github/update_dependencies.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/update_dependencies_manual.yml

This file was deleted.

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
2 changes: 1 addition & 1 deletion .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 Down
25 changes: 10 additions & 15 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -1,27 +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
env:
LIBQUICKJSC_TEST_PATH: ${{ github.workspace }}/test/assets/libquickjs_c_bridge_plugin.so
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
23 changes: 11 additions & 12 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,38 @@ description: 'A plugin to the JSON Dynamic Widget to provide components support
homepage: 'https://github.com/peiffer-innovations/json_dynamic_widget_plugin_components'
version: '1.0.0'

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

analyzer:
exclude:
analyzer:
exclude:
- 'lib/generated/**'
- 'lib/**/*.g.dart'


dependencies:
dependencies:
child_builder: '^2.0.1'
flutter:
flutter:
sdk: 'flutter'
json_class: '^3.0.0+5'
json_dynamic_widget: '^7.0.6'
json_theme: '^6.3.0'
logging: '^1.2.0'
meta: '^1.9.1'
meta: '^1.12.0'
path: ^1.8.3
uuid: '^4.1.0'
version: ^3.0.2

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

dev_dependencies:
dev_dependencies:
build_runner: '^2.4.6'
flutter_lints: ^3.0.1
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 Down

0 comments on commit ff79eb0

Please sign in to comment.