Skip to content

Bump leancode_lint from 12.1.0 to 13.0.0 in /packages/leancode_flutter_svg_adaptive_loader in the all_dependencies group #48

Bump leancode_lint from 12.1.0 to 13.0.0 in /packages/leancode_flutter_svg_adaptive_loader in the all_dependencies group

Bump leancode_lint from 12.1.0 to 13.0.0 in /packages/leancode_flutter_svg_adaptive_loader in the all_dependencies group #48

name: leancode_flutter_svg_adaptive_loader test
on:
push:
branches: [master]
tags-ignore: ['leancode_flutter_svg_adaptive_loader-v*']
paths:
- 'packages/leancode_flutter_svg_adaptive_loader/**'
pull_request:
branches: [master]
paths:
- 'packages/leancode_flutter_svg_adaptive_loader/**'
jobs:
test:
name: Flutter ${{ matrix.channel }}${{ matrix.version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- version: 3.16.x
defaults:
run:
working-directory: packages/leancode_flutter_svg_adaptive_loader
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: Download pub dependencies
run: flutter pub get
- name: Run analyzer
run: |
flutter analyze
dart run custom_lint
- name: Dry run pub publish
# We don't want it to fail the CI, it's just to see how would `pub publish` behave.
run: flutter pub publish --dry-run || true