diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 60e02fb2f..4bf72c2f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Flutter Action uses: subosito/flutter-action@v2 - name: Check format @@ -30,7 +30,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Flutter Action uses: subosito/flutter-action@v2 - name: Install Package Dependencies @@ -41,15 +41,16 @@ jobs: - name: Lint using flutter analyze run: flutter analyze . - # test: - # name: Test2 - # runs-on: ubuntu-latest + test: + name: Run tests. + runs-on: ubuntu-latest - # steps: - # - name: Checkout code - # uses: actions/checkout@v2 - # - uses: subosito/flutter-action@v1 - # with: - # channel: beta - # - name: Test - # run: flutter test + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Flutter Action + uses: subosito/flutter-action@v2 + - name: Run flutter test + run: | + flutter pub get + flutter test