Skip to content

attempt to fix actions #4

attempt to fix actions

attempt to fix actions #4

Workflow file for this run

name: Check
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
check-backend:
name: Check Backend
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Run Cargo Check
working-directory: rust-backend
run: cargo check
- name: Run Unit Tests
working-directory: rust-backend
run: cargo test
check-frontend:
name: Check Frontend
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version-file: flutter_frontend/pubspec.yaml
- name: Run Flutter Version
run: flutter --version
- name: Get Dependencies
working-directory: flutter_frontend
run: flutter pub get
- name: Analyze Code
working-directory: flutter_frontend
run: flutter analyze
- name: Run Tests
working-directory: flutter_frontend
run: flutter test