mirror of
https://github.com/flame-engine/flame.git
synced 2026-03-27 12:21:35 +00:00
Bump the Flutter and dartdoc version so that we can develop with the new Flutter version. This aggressive bump is due to Flutter bumping dartdoc to 9.0.0.
52 lines
1.2 KiB
YAML
52 lines
1.2 KiB
YAML
name: cicd
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
types: [opened, reopened, synchronize]
|
|
|
|
env:
|
|
FLUTTER_MIN_VERSION: '3.41.0'
|
|
|
|
jobs:
|
|
# BEGIN LINTING STAGE
|
|
analyze:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- 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/github-action-dart-analyzer@v3
|
|
with:
|
|
fatal-infos: true
|
|
|
|
markdown-lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
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@v4
|
|
- uses: subosito/flutter-action@v2
|
|
- uses: bluefireteam/melos-action@v3
|
|
- name: Install DCM
|
|
uses: CQLabs/setup-dcm@v2
|
|
with:
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Run DCM
|
|
run: dcm analyze .
|
|
# END LINTING STAGE
|