Skip to content

chore(deps): update dependency semantic-release-pub to v0.6.1 (#230) #58

chore(deps): update dependency semantic-release-pub to v0.6.1 (#230)

chore(deps): update dependency semantic-release-pub to v0.6.1 (#230) #58

Workflow file for this run

name: Example app
on:
push:
branches:
- main
pull_request:
defaults:
run:
working-directory: example
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Get project Flutter version 🏷️
id: fvm-config
uses: kuhnroyal/[email protected]
- name: Setup Flutter 💻
id: setup-flutter
uses: subosito/[email protected]
with:
flutter-version: ${{ steps.fvm-config.outputs.FLUTTER_VERSION }}
cache: true
cache-key: ${{ runner.os }}-flutter-${{ steps.fvm-config.outputs.FLUTTER_VERSION }}-${{ hashFiles('**/pubspec.lock') }}
- name: Cache Pub 💾
uses: actions/cache@v3
with:
path: |
${{ steps.setup-flutter.outputs.CACHE-PATH }}
**/.dart_tool
key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.lock') }}
restore-keys: |
${{ runner.os }}-pub-
- name: Run linting 🧪
run: |
flutter pub get
dart format --output=none --set-exit-if-changed .
flutter analyze