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 e461ded commit 439beaa
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
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: Validate
uses: peiffer-innovations/actions-flutter-validate@v1
Expand Down
14 changes: 11 additions & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
name: Dart 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
pull_request: true
Expand Down
14 changes: 7 additions & 7 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@ description: 'A library to create conditional evaluators from JSON or JSON-like
homepage: 'https://github.com/peiffer-innovations/json_conditional'
version: '3.0.1+12'

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

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

dependencies:
dependencies:
json_class: '^3.0.0+13'
meta: '^1.9.1'
meta: '^1.12.0'

dev_dependencies:
dev_dependencies:
flutter_lints: '^4.0.0'
test: '^1.25.5'

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

0 comments on commit 439beaa

Please sign in to comment.