Skip to content

Update dependency flutter_riverpod to v3 #23

Update dependency flutter_riverpod to v3

Update dependency flutter_riverpod to v3 #23

# Copyright 2026 Canonical Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-FileCopyrightText: Copyright 2026 Canonical Ltd.
# SPDX-License-Identifier: Apache-2.0
name: Static Analysis - Frontend
on:
pull_request:
paths:
- 'frontend/**'
- '.github/workflows/static-analysis-frontend.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: {}
jobs:
analyze-frontend:
name: Analyze Frontend
runs-on: ubuntu-24.04
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- uses: subosito/flutter-action@fd55f4c5af5b953cc57a2be44cb082c8f6635e8e # v2.21.0
with:
flutter-version: '3.29.3'
channel: 'stable'
- run: flutter pub get
- run: flutter pub run build_runner build
- if: ${{ !cancelled() }}
run: flutter analyze
- if: ${{ !cancelled() }}
run: dart format --set-exit-if-changed lib