Upgrade dependencies #56
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
# This is a basic workflow to help you get started with Actions | |
name: Analyze project | |
# Controls when the workflow will run | |
on: | |
pull_request: | |
branches: [ "master" ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Flutter SDK | |
uses: flutter-actions/setup-flutter@v2 | |
# - uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
version: 3.24.4 | |
# - run: | | |
# sudo apt-get update -y | |
# sudo apt-get install -y ninja-build libgtk-3-dev | |
- name: Clearing project | |
run: flutter clean | |
- name: Install dependencies | |
run: flutter pub upgrade | |
- name: Analyze project | |
run: flutter analyze | |
# Your project will need to have tests in test/ and a dependency on | |
# package:test for this step to succeed. Note that Flutter projects will | |
# want to change this to 'flutter test'. | |
- name: Run tests | |
run: flutter test | |
# - name: Configure linux desctop | |
# run: flutter config --enable-linux-desktop | |
# - name: Build linux | |
# run: flutter build linux | |