cd: fix secrets not being generated for lint

This commit is contained in:
Kingkor Roy Tirtho 2023-12-11 23:48:13 +06:00
parent 11949b39ff
commit d4a2e5c327

View File

@ -10,14 +10,19 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
- name: Lint Dart files
- name: Configure repo
run: |
flutter pub get
echo '${{ secrets.DOTENV_NIGHTLY }}' > .env
dart run build_runner build --delete-conflicting-outputs
- name: Lint Dart files
run: |
flutter analyze --no-fatal-infos --no-fatal-warnings
- name: Lint translations & config files