Copy seed to backup folder when manual user enables Auto-Backup #1640
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2022 Foundation Devices Inc. | |
# | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
name: Check | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: REUSE Compliance Check | |
uses: fsfe/reuse-action@v1 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: '12.x' | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
flutter-version: '3.19.5' | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Verify Dart formatting | |
run: dart format --output=none --set-exit-if-changed . | |
- run: rustup --version | |
- run: rustup component add rustfmt | |
- run: rustup component add clippy | |
- name: Verify Rust formatting | |
run: cargo fmt --all -- --check | |
- name: Catch common Rust mistakes | |
run: cargo clippy -- -Dwarnings -A clippy::missing_safety_doc | |
- name: Run Rust tests | |
run: cargo test | |
- name: Analyze Dart project source | |
run: flutter analyze | |
- name: Build Rust libs | |
run: cargo build | |
- name: Run Dart tests | |
run: flutter test |