Skip to content

[174]: Updating mocktail dependency to the version 1.0.4 #408

[174]: Updating mocktail dependency to the version 1.0.4

[174]: Updating mocktail dependency to the version 1.0.4 #408

name: check-code-quality
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
types: ["labeled", "opened", "synchronize", "reopened"]
jobs:
check-code-quality:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Fail if pipeline label was not set
if: ${{ !contains( github.event.pull_request.labels.*.name, 'ready for pipeline') && github.ref_name != 'master' }}
run: |
echo "please set the label 'ready for pipeline' to start the pipeline"
failure()
- name: Checkout the latest code
uses: actions/checkout@v2
- name: prepare flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.10.0'
channel: 'stable'
- name: Run quality checks if pipeline label was set
run: |
git config --global --add safe.directory /opt/hostedtoolcache/flutter/stable-3.10.0-x64
make quality