Skip to content

Merge pull request #145 from juliansteenbakker/dependabot/gradle/exam… #398

Merge pull request #145 from juliansteenbakker/dependabot/gradle/exam…

Merge pull request #145 from juliansteenbakker/dependabot/gradle/exam… #398

name: code analysis & formatting
on: [push, pull_request]
jobs:
analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
- uses: subosito/[email protected]
- name: Version
run: flutter doctor -v
- name: Install dependencies
run: flutter pub get
- name: Linter
run: flutter analyze
formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
- uses: subosito/[email protected]
- name: Format
run: dart format --set-exit-if-changed .