diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 66e52a1..84b53b4 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -14,11 +14,17 @@ updates: directory: "/" schedule: interval: "daily" + ignore: + - dependency-name: "*" + update-types: ["version-update:semver-minor", "version-update:semver-patch"] - package-ecosystem: "pub" directory: "example" schedule: interval: "daily" + ignore: + - dependency-name: "*" + update-types: ["version-update:semver-minor", "version-update:semver-patch"] - package-ecosystem: "gradle" directory: "example/android" diff --git a/.github/workflows/flutter_build_example.yml b/.github/workflows/flutter_build_example.yml index beef9ab..f343c5d 100644 --- a/.github/workflows/flutter_build_example.yml +++ b/.github/workflows/flutter_build_example.yml @@ -1,6 +1,7 @@ name: Flutter build example on: + workflow_dispatch: pull_request: push: branches: @@ -14,10 +15,12 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} - name: Setup Java uses: actions/setup-java@v3 with: - distribution: 'adopt' + distribution: 'temurin' java-version: '17' - name: Install Flutter uses: subosito/flutter-action@v2 @@ -37,6 +40,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} - name: Install Flutter uses: subosito/flutter-action@v2 - name: Disable analytics diff --git a/.github/workflows/flutter_checks.yml b/.github/workflows/flutter_checks.yml index 1b07c0b..e006061 100644 --- a/.github/workflows/flutter_checks.yml +++ b/.github/workflows/flutter_checks.yml @@ -1,6 +1,7 @@ name: Flutter checks on: + workflow_dispatch: pull_request: push: branches: @@ -14,6 +15,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} - name: Install Flutter uses: subosito/flutter-action@v2 - name: Disable analytics @@ -28,6 +31,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} - name: Install Flutter uses: subosito/flutter-action@v2 - name: Disable analytics @@ -44,6 +49,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} - name: Install Flutter uses: subosito/flutter-action@v2 - name: Disable analytics @@ -60,6 +67,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} - name: Install Flutter uses: subosito/flutter-action@v2 - name: Disable analytics @@ -76,6 +85,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} - name: Install Flutter uses: subosito/flutter-action@v2 - name: Disable analytics diff --git a/.github/workflows/pub_publish.yml b/.github/workflows/pub_publish.yml index 2931f9c..094fc55 100644 --- a/.github/workflows/pub_publish.yml +++ b/.github/workflows/pub_publish.yml @@ -1,4 +1,4 @@ -name: Publish +name: Pub publish on: release: @@ -6,10 +6,12 @@ on: jobs: publish: - name: Publish + name: Pub publish runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} - name: Publish uses: k-paxian/dart-package-publisher@v1.6 with: diff --git a/.github/workflows/pub_publish_dry_run.yml b/.github/workflows/pub_publish_dry_run.yml index cd60962..fc9b3d9 100644 --- a/.github/workflows/pub_publish_dry_run.yml +++ b/.github/workflows/pub_publish_dry_run.yml @@ -1,16 +1,19 @@ -name: Publish dry run +name: Pub publish dry run on: + workflow_dispatch: push: branches: - main jobs: publish-dry-run: - name: Publish dry run + name: Pub publish dry run runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} - name: Publish dry run uses: k-paxian/dart-package-publisher@v1.6 with: diff --git a/.github/workflows/pub_score.yml b/.github/workflows/pub_score.yml index 2910170..16953f0 100644 --- a/.github/workflows/pub_score.yml +++ b/.github/workflows/pub_score.yml @@ -1,6 +1,7 @@ name: Check pub score on: + workflow_dispatch: pull_request: push: branches: @@ -12,6 +13,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} - uses: axel-op/dart-package-analyzer@v3 id: workflow with: diff --git a/example/pubspec.yaml b/example/pubspec.yaml index beb0d68..444b78c 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -12,7 +12,7 @@ dependencies: path: ../ dev_dependencies: - flutter_lints: ^2.0.3 + flutter_lints: ^2.0.0 flutter_test: sdk: flutter integration_test: