Bump custom_lint_builder from 0.6.8 to 0.7.0 in /packages/leancode_lint in the all_dependencies group #129
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: leancode_lint test | |
on: | |
push: | |
branches: [master] | |
tags-ignore: ['leancode_lint-v*'] | |
paths: | |
- 'packages/leancode_lint/**' | |
pull_request: | |
branches: [master] | |
paths: | |
- 'packages/leancode_lint/**' | |
jobs: | |
test: | |
name: Flutter ${{ matrix.channel }}${{ matrix.version }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- version: 3.24.x | |
defaults: | |
run: | |
working-directory: packages/leancode_lint | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Flutter | |
uses: subosito/flutter-action@v1 | |
with: | |
channel: ${{ matrix.channel }} | |
flutter-version: ${{ matrix.version }} | |
- name: Flutter version | |
run: flutter --version | |
- name: Cache pub dependencies | |
uses: actions/cache@v2 | |
with: | |
path: ${{ env.FLUTTER_HOME }}/.pub-cache | |
key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.lock') }} | |
restore-keys: ${{ runner.os }}-pub- | |
- name: Run lint rules tests | |
run: | | |
cd test/lints_test_app/ | |
flutter pub get | |
dart run custom_lint | |
- uses: codecov/codecov-action@v1 | |
with: | |
flags: leancode_lint |