Skip to content

Commit

Permalink
ci: update GitHub Actions to use fvm
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasn committed Dec 25, 2023
1 parent de07a82 commit 7fdaef7
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/flutter-analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ jobs:
- name: Install libraries
run: sudo apt-get install network-manager
- uses: actions/checkout@v3
- uses: kuhnroyal/flutter-fvm-config-action@v2
id: fvm-config-action
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.13.0'
channel: 'stable'
flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
channel: ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }}
- name: Run Flutter Analyze
run: make clean_analyze
- name: Check unused files
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/flutter-linux-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: kuhnroyal/flutter-fvm-config-action@v2
id: fvm-config-action
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.13.0'
channel: 'stable'
flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
channel: ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }}
- name: Update apt-get
run: sudo apt-get update
- name: Install libraries
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/flutter-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ jobs:
- name: Install libraries
run: sudo apt-get install network-manager mpv libmpv-dev
- uses: actions/checkout@v3
- uses: kuhnroyal/flutter-fvm-config-action@v2
id: fvm-config-action
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.13.0'
channel: 'stable'
flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
channel: ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }}
- name: Run Flutter tests
run: make l10n test
- uses: codecov/codecov-action@v3
6 changes: 4 additions & 2 deletions .github/workflows/flutter-windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ jobs:
- name: Support long paths
run: git config --system core.longpaths true
- uses: actions/checkout@v3
- uses: kuhnroyal/flutter-fvm-config-action@v2
id: fvm-config-action
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.13.0'
channel: 'stable'
flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
channel: ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }}
- name: Flutter Doctor
run: make doctor
- name: Flutter get dependencies
Expand Down

0 comments on commit 7fdaef7

Please sign in to comment.