Skip to content

Support sam-node on Android and iOS #1

Support sam-node on Android and iOS

Support sam-node on Android and iOS #1

Workflow file for this run

# Copyright 2026 Google LLC

Check failure on line 1 in .github/workflows/test_flutter.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/test_flutter.yaml

Invalid workflow file

(Line: 5, Col: 1): Unexpected value '// You may obtain a copy of the License at'
#
# 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: Test Flutter App
on:
push:
branches:
- 'main'
tags:
- 'v*'
pull_request:
branches: [ main ]
env:
GO_VERSION: "1.26"
jobs:
build-ffi:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
go-version: ${{ env.GO_VERSION }}
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v6
- run: make mobile-ffi-host
analyze-flutter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v6
- uses: subosito/flutter-action@f0e3869966141470404a3952d9a30b9538350811 # v2
with:
channel: 'stable'
- name: Install dependencies
run: flutter pub get
working-directory: mobile/sam-node-app
- name: Analyze code
run: flutter analyze
working-directory: mobile/sam-node-app