fix: Take other values than 1 into consideration for pressed buttons … #112
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: cicd | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
# BEGIN LINTING STAGE | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.7.1' | |
channel: 'stable' | |
cache: true | |
- uses: bluefireteam/melos-action@main | |
with: | |
melos-version: '3.0.0-dev.0' | |
- run: melos run format-check | |
analyze: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.7.1' | |
channel: 'stable' | |
- uses: bluefireteam/melos-action@v2 | |
with: | |
melos-version: '3.0.0-dev.0' | |
- name: "Analyze" | |
uses: invertase/github-action-dart-analyzer@v1 | |
with: | |
fatal-infos: true | |
fatal-warnings: 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 | |
super-linter: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: super-linter/super-linter@v5 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
VALIDATE_ALL_CODEBASE: true | |
DEFAULT_BRANCH: main | |
VALIDATE_CLANG_FORMAT: true | |
# END LINTING STAGE | |
# BEGIN TESTING STAGE | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.7.1' | |
channel: 'stable' | |
cache: true | |
- uses: bluefireteam/melos-action@main | |
with: | |
melos-version: '3.0.0-dev.0' | |
- uses: bluefireteam/spec-action@main | |
# END TESTING STAGE |