forked from flutter-tizen/flutter-tizen
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (30 loc) · 1.03 KB
/
analyze.yml
File metadata and controls
34 lines (30 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 2025 Samsung Electronics Co., Ltd. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
name: Analyze
on: [push, pull_request]
jobs:
dart:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Fetch Flutter SDK
run: |
git clone https://github.com/flutter/flutter.git
cd flutter
git checkout $(cat ../bin/internal/flutter.version)
- name: Install pub dependencies
run: flutter/bin/flutter pub get
- name: Verify formatting
run: flutter/bin/dart format --output=none --set-exit-if-changed lib test packages
- name: Analyze project source
run: flutter/bin/dart analyze --fatal-infos lib test
csharp:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v2
with:
dotnet-version: "6.0.x"
- name: Verify formatting
run: dotnet format --verify-no-changes embedding/csharp