Skip to content

chore(deps): bump subosito/flutter-action from 2.19.0 to 2.20.0 #53

chore(deps): bump subosito/flutter-action from 2.19.0 to 2.20.0

chore(deps): bump subosito/flutter-action from 2.19.0 to 2.20.0 #53

Workflow file for this run

# Copyright 2025 Google LLC
#
# 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
#
# https://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.
name: Run code analysis
on:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
flutter-analyze:
timeout-minutes: 45
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Setup flutter
uses: subosito/flutter-action@395322a6cded4e9ed503aebd4cc1965625f8e59a
with:
flutter-version: "3.x"
channel: "stable"
cache: true
- name: Setup melos
uses: bluefireteam/melos-action@b3ccbb59dd75a6c926d54684abd8c5cda074457a
with:
melos-version: "6.0.0"
- name: "Run Flutter Analyze"
run: melos run flutter-analyze
format:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Setup java
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "17"
- name: Setup flutter
uses: subosito/flutter-action@395322a6cded4e9ed503aebd4cc1965625f8e59a
with:
flutter-version: "3.x"
channel: "stable"
cache: true
- name: Setup melos
uses: bluefireteam/melos-action@b3ccbb59dd75a6c926d54684abd8c5cda074457a
with:
melos-version: "6.0.0"
- name: Run format
if: ${{ success() || failure() }}
run: |
melos run format
- name: Validate formatting
if: ${{ success() || failure() }}
run: |
./.github/workflows/scripts/validate-formatting.sh