build(deps): bump actions/checkout from 3 to 4 #400
Workflow file for this run
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
name: code analysis & formatting | |
on: [push, pull_request] | |
jobs: | |
analysis: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
# Use the community Action to install Flutter | |
- uses: subosito/[email protected] | |
- name: Version | |
run: flutter doctor -v | |
- name: Install dependencies | |
run: flutter pub get | |
working-directory: ./flutter_secure_storage | |
- name: Linter - Android & iOS | |
run: flutter analyze | |
working-directory: ./flutter_secure_storage | |
- name: Linter - Platform Interface | |
run: flutter analyze | |
working-directory: ./flutter_secure_storage_platform_interface | |
formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
# Use the community Action to install Flutter | |
- uses: subosito/[email protected] | |
- name: Format - Android & iOS | |
run: dart format --set-exit-if-changed . | |
working-directory: ./flutter_secure_storage | |
- name: Format - Platform Interface | |
run: dart format --set-exit-if-changed . | |
working-directory: ./flutter_secure_storage_platform_interface |