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 0f06535 commit a149a03
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 23 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

- name: Validate
uses: peiffer-innovations/actions-flutter-validate@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publisher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

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

- name: Validate
uses: peiffer-innovations/actions-flutter-validate@v1
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -1,15 +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
- 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
18 changes: 9 additions & 9 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@ description: 'Example application for the form_validation library'
version: '1.0.0+5'
publish_to: 'none'

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

dependencies:
flutter:
dependencies:
flutter:
sdk: 'flutter'
form_floating_action_button: '^2.1.1'
form_validation:
form_validation:
path: '../'

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

flutter:
flutter:
uses-material-design: true

ignore_updates:
ignore_updates:
- 'archive'
- 'async'
- 'boolean_selector'
Expand Down
16 changes: 8 additions & 8 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@ description: 'Validators that can be used directly via code or constructed from
version: '3.1.1+5'
homepage: 'https://github.com/peiffer-innovations/form_validation'

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

dependencies:
flutter:
dependencies:
flutter:
sdk: 'flutter'
intl: '^0.19.0'
json_class: '^3.0.0+13'
meta: '^1.10.0'
meta: '^1.12.0'

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

ignore_updates:
ignore_updates:
- 'archive'
- 'async'
- 'boolean_selector'
Expand Down

0 comments on commit a149a03

Please sign in to comment.