From b7f32f18e6cf564515701d49d89fd3449dc22fbd Mon Sep 17 00:00:00 2001 From: Jeff Peiffer Date: Thu, 16 May 2024 11:24:53 -0400 Subject: [PATCH] Workflow updates --- .github/workflows/publisher.yml | 2 +- .github/workflows/pull_request.yml | 14 +++++++++++--- .github/workflows/update_dependencies.yml | 2 +- pubspec.yaml | 10 +++++----- 4 files changed, 18 insertions(+), 10 deletions(-) diff --git a/.github/workflows/publisher.yml b/.github/workflows/publisher.yml index fa6dcad..ce0de7d 100644 --- a/.github/workflows/publisher.yml +++ b/.github/workflows/publisher.yml @@ -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 diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 15f9c89..b9d6625 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -1,14 +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 \ No newline at end of file diff --git a/.github/workflows/update_dependencies.yml b/.github/workflows/update_dependencies.yml index dd21faf..097ad6d 100644 --- a/.github/workflows/update_dependencies.yml +++ b/.github/workflows/update_dependencies.yml @@ -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 diff --git a/pubspec.yaml b/pubspec.yaml index 261af83..2b99279 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,10 +3,10 @@ description: 'A Dart library to process string based templates using expressions homepage: 'https://github.com/peiffer-innovations/template_expressions' version: '3.2.0+7' -environment: +environment: sdk: '>=3.0.0 <4.0.0' -dependencies: +dependencies: convert: '^3.1.1' crypto: '^3.0.1' encrypt: '^5.0.3' @@ -15,18 +15,18 @@ dependencies: json_class: '^3.0.0+13' json_path: '>=0.6.3 <1.0.0' logging: '^1.2.0' - meta: '^1.10.0' + meta: '^1.12.0' petitparser: '^6.0.1' pointycastle: '^3.9.1' quiver: '^3.2.1' rxdart: '^0.27.7' yaon: '^1.1.4+10' -dev_dependencies: +dev_dependencies: flutter_lints: '^4.0.0' test: '^1.25.5' -ignore_updates: +ignore_updates: - 'archive' - 'async' - 'boolean_selector'