Skip to content

refactor: Deprecate fromAtlas in favour of atlasFromAssets and `a… #9198

refactor: Deprecate fromAtlas in favour of atlasFromAssets and `a…

refactor: Deprecate fromAtlas in favour of atlasFromAssets and `a… #9198

Workflow file for this run

name: cicd
on:
push:
branches:
- main
pull_request:
types: [opened, reopened, synchronize]
env:
FLUTTER_MIN_VERSION: '3.19.0'
jobs:
# BEGIN LINTING STAGE
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
- uses: bluefireteam/melos-action@v3
- run: melos run format-check
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{env.FLUTTER_MIN_VERSION}}
- uses: bluefireteam/melos-action@v3
- name: "Analyze with lowest supported version"
uses: invertase/[email protected]
with:
fatal-infos: true
analyze-latest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
- uses: bluefireteam/melos-action@v3
- name: "Analyze with latest stable"
uses: invertase/[email protected]
with:
fatal-infos: true
markdown-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install -g markdownlint-cli
- run: markdownlint . -p .markdownlintignore -c .markdownlint.yaml
dcm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
- uses: bluefireteam/melos-action@v3
- name: Install DCM
uses: CQLabs/setup-dcm@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Run DCM
run: dcm analyze .
# END LINTING STAGE
# BEGIN TESTING STAGE
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
cache: true
- uses: bluefireteam/melos-action@v3
- name: Run tests
run: melos test
# END TESTING STAGE