Skip to content

feat(word_page): ✨ show AppBar elevation when scrolled underneath (… #139

feat(word_page): ✨ show AppBar elevation when scrolled underneath (…

feat(word_page): ✨ show AppBar elevation when scrolled underneath (… #139

Workflow file for this run

name: Analysis CI
on:
push:
branches: [main]
pull_request:
branches: [main]
types: [opened, synchronize, reopened]
env:
FLUTTER_SDK_VERSION: "3.16.9"
permissions:
contents: read
jobs:
analyze:
permissions:
checks: write # for coverallsapp/github-action to create new checks
contents: read # for actions/checkout to fetch code
name: Analyze
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@b56e6a3d768b11aef1d4c73977caf6413c0d74c8 # v3
- name: Cache dependencies
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
id: cache
with:
path: /opt/hostedtoolcache/flutter
key: ${{ runner.os }}-pubspec-${{ env.FLUTTER_SDK_VERSION }}-${{ hashFiles('**/pubspec.lock') }}
- uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 # v2.12.0
with:
flutter-version: ${{ env.FLUTTER_SDK_VERSION }}
- name: Verify formatting
run: dart format --output=none --set-exit-if-changed .
- name: Get dependencies
run: flutter pub get
- name: Analyze project source
run: flutter analyze --no-pub --fatal-infos
- name: Run tests
run: flutter test test/main.dart --no-pub --coverage
- name: Upload Coveralls
uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949 # 2.2.3
continue-on-error: true
with:
github-token: ${{ secrets.GITHUB_TOKEN }}