Skip to content

Commit

Permalink
Update GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jsondergaard committed Sep 1, 2024
1 parent ab161b9 commit 1f620df
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 243 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Flutter verification
name: GIRAF

on: [push]

Expand All @@ -24,31 +24,39 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Create .env file
run: |
cp .env.example .env
shell: bash

- uses: actions/setup-java@v2
with:
distribution: "temurin"
java-version: ${{ env.java_version }}

- name: Cache Flutter dependencies
uses: actions/cache@v3
with:
path: ${{ matrix.flutter_path }}
key: ${{ runner.os }}-flutter-${{ env.flutter_version }}

- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.flutter_version }}
channel: ${{ env.flutter_channel }}

- run: flutter pub get
name: Get dependencies

- run: flutter pub upgrade api_client
name: Update api_client

- run: flutter doctor
name: Doctor

- run: flutter analyze
name: Linter

- run: flutter test test/blocs test/exceptions test/models test/providers --coverage
name: Tests

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
85 changes: 0 additions & 85 deletions .github/workflows/flutter-verification.yml

This file was deleted.

154 changes: 0 additions & 154 deletions .github/workflows/main.yml

This file was deleted.

0 comments on commit 1f620df

Please sign in to comment.