83df31b60e
Bumps the gh-deps group with 2 updates in the / directory: [actions/checkout](https://github.com/actions/checkout) and [codecov/codecov-action](https://github.com/codecov/codecov-action). Bumps the gh-deps group with 1 update in the /.github/actions/dart_package directory: [codecov/codecov-action](https://github.com/codecov/codecov-action). Bumps the gh-deps group with 1 update in the /.github/actions/flutter_package directory: [codecov/codecov-action](https://github.com/codecov/codecov-action). Bumps the gh-deps group with 1 update in the /.github/actions/publish_flutter_package directory: [actions/checkout](https://github.com/actions/checkout). Bumps the gh-deps group with 1 update in the /.github/actions/rust_crate directory: [codecov/codecov-action](https://github.com/codecov/codecov-action). Updates `actions/checkout` from 6 to 7 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) Updates `codecov/codecov-action` from 6 to 7 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v6...v7) Updates `codecov/codecov-action` from 6 to 7 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v6...v7) Updates `codecov/codecov-action` from 6 to 7 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v6...v7) Updates `actions/checkout` from 6 to 7 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) Updates `codecov/codecov-action` from 6 to 7 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: gh-deps - dependency-name: codecov/codecov-action dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: gh-deps - dependency-name: codecov/codecov-action dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: gh-deps - dependency-name: codecov/codecov-action dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: gh-deps - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: gh-deps - dependency-name: codecov/codecov-action dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: gh-deps ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
94 lines
2.6 KiB
YAML
94 lines
2.6 KiB
YAML
# Generated by shorebird_ci --style static. Safe to edit.
|
|
# Run `shorebird_ci verify` to check for dep graph drift.
|
|
name: Shorebird CI
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
changes:
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
shorebird_code_push: ${{ steps.filter.outputs.shorebird_code_push }}
|
|
shorebird_code_push_example: ${{ steps.filter.outputs.shorebird_code_push_example }}
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
with:
|
|
# Full history so dorny/paths-filter can diff on push events.
|
|
fetch-depth: 0
|
|
- uses: dart-lang/setup-dart@v1
|
|
- run: dart pub global activate shorebird_ci
|
|
- name: Verify CI coverage
|
|
run: shorebird_ci verify
|
|
- uses: dorny/paths-filter@v4
|
|
id: filter
|
|
with:
|
|
filters: |
|
|
shorebird_code_push:
|
|
- shorebird_code_push/**
|
|
shorebird_code_push_example:
|
|
- shorebird_code_push/**
|
|
- shorebird_code_push/example/**
|
|
|
|
shorebird_code_push:
|
|
needs: changes
|
|
if: needs.changes.outputs.shorebird_code_push == 'true'
|
|
uses: ./.github/workflows/_shorebird_ci_flutter.yaml
|
|
with:
|
|
package_name: shorebird_code_push
|
|
package_path: shorebird_code_push
|
|
has_bloc_lint: false
|
|
has_unit_tests: true
|
|
subpackages: "example"
|
|
flutter_version: ""
|
|
has_integration_tests: false
|
|
|
|
shorebird_code_push_example:
|
|
needs: changes
|
|
if: needs.changes.outputs.shorebird_code_push_example == 'true'
|
|
uses: ./.github/workflows/_shorebird_ci_flutter.yaml
|
|
with:
|
|
package_name: shorebird_code_push_example
|
|
package_path: shorebird_code_push/example
|
|
has_bloc_lint: false
|
|
has_unit_tests: false
|
|
subpackages: ""
|
|
flutter_version: ""
|
|
has_integration_tests: false
|
|
|
|
cspell:
|
|
name: CSpell
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
with:
|
|
submodules: recursive
|
|
- uses: streetsidesoftware/cspell-action@v8
|
|
with:
|
|
incremental_files_only: false
|
|
config: cspell.config.yaml
|
|
|
|
required:
|
|
name: required
|
|
if: ${{ always() }}
|
|
needs:
|
|
- changes
|
|
- shorebird_code_push
|
|
- shorebird_code_push_example
|
|
- cspell
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check required jobs
|
|
run: |
|
|
if [[ "${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}" == "true" ]]; then
|
|
echo "One or more required jobs failed or were cancelled."
|
|
exit 1
|
|
fi
|
|
echo "All required jobs passed (or were skipped because nothing changed)."
|
|
|