Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszpolanski committed Dec 1, 2023
1 parent 655615d commit a97f42d
Showing 1 changed file with 10 additions and 19 deletions.
29 changes: 10 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,18 @@ on:
workflow_dispatch:

jobs:
check-format:
name: Check format using flutter format
runs-on: ubuntu-latest
container: cirrusci/flutter:stable

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Check format
run: flutter format -n --set-exit-if-changed .

lint:
name: Lint
check:
runs-on: ubuntu-latest
container: cirrusci/flutter:stable

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Get dependencies for example
run: flutter pub get
working-directory: example
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.ORG_SSH_KEY }}
- uses: dart-lang/[email protected]
- uses: actions/checkout@v2

- name: Check format
run: flutter format -n --set-exit-if-changed .

- name: Lint using flutter analyze
run: flutter analyze

0 comments on commit a97f42d

Please sign in to comment.