diff --git a/.github/workflows/mobile-lint.yml b/.github/workflows/mobile-lint.yml index 1a8bf38a1..577bdca5f 100644 --- a/.github/workflows/mobile-lint.yml +++ b/.github/workflows/mobile-lint.yml @@ -3,9 +3,11 @@ name: "Lint (mobile)" on: # Run on every push (this also covers pull requests) push: - # But only if something changes inside mobile paths: + # - But only if something changes inside mobile - "mobile/**" + # - Or if the there is some change in GitHub workflows themselves + - ".github/workflows/**" jobs: lint: @@ -14,9 +16,16 @@ jobs: run: working-directory: mobile steps: + # Install Flutter + - uses: subosito/flutter-action@v2 + with: + channel: "stable" + flutter-version: "3.13.4" + # Checkout our code, including submodules - uses: actions/checkout@v4 with: submodules: recursive + # Install dependencies - run: flutter pub get + # Lint - run: flutter analyze --no-fatal-infos - - run: flutter test diff --git a/.github/workflows/web-lint.yml b/.github/workflows/web-lint.yml index dec6d61b5..8154c7955 100644 --- a/.github/workflows/web-lint.yml +++ b/.github/workflows/web-lint.yml @@ -3,9 +3,11 @@ name: "Lint (web)" on: # Run on every push (this also covers pull requests) push: - # But only if something changes inside web paths: + # - But only if something changes inside web - "web/**" + # - Or if the there is some change in GitHub workflows themselves + - ".github/workflows/**" jobs: lint: