Skip to content

build: Flavor対応とFirebaseファイルの配置 #183

build: Flavor対応とFirebaseファイルの配置

build: Flavor対応とFirebaseファイルの配置 #183

Workflow file for this run

name: 'Checks'
on:
pull_request:
branches:
- main
concurrency:
group: checks-${{ github.ref }}
cancel-in-progress: true
jobs:
changed:
runs-on: ubuntu-22.04
permissions:
contents: read
pull-requests: read
outputs:
all: ${{ steps.changes.outputs.all }}
steps:
# https://github.com/marketplace/actions/checkout
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
# https://github.com/marketplace/actions/paths-changes-filter
- name: Paths Changes Filter
uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd # v3.0.0
id: changes
with:
filters: |
all:
- '.github/workflows/checks.yml'
- '.tool-versions'
- 'melos.yaml'
- 'app/**/*'
- 'core/**/lib/**/*'
- 'feature/**/lib/**/*'
- '**/pubspec.lock'
- '**/pubspec.yaml'
check:
runs-on: ubuntu-22.04
needs: changed
if: needs.changed.outputs.all == 'true'
timeout-minutes: 10
steps:
# https://github.com/marketplace/actions/checkout
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
# https://github.com/marketplace/actions/mise-action
- name: mise action
uses: jdx/mise-action@3bc85396a273ed82bba5e53a15174bbf9dba095c # v2.0.2
# https://github.com/marketplace/actions/melos-action
- name: Melos action
uses: bluefireteam/melos-action@63916098bc0ef1e403907e419b61b284108d755e # v3
- name: Run analyze
run: melos run analyze
- name: Run test
run: melos run test --no-select