Replace all host and Repository.displayHost with Repository.host #765
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint and format | |
# https://docs.github.com/actions/automating-builds-and-tests/building-and-testing-nodejs-or-python?langId=py#requirements-file | |
on: | |
pull_request: | |
types: [opened, edited, ready_for_review, synchronize] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Check out the code | |
uses: actions/checkout@v4 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: "stable" | |
- name: Install Pub Dependencies | |
run: flutter pub get | |
- name: Copy .env file | |
run: cp .env.template .env | |
- name: Verify Formatting | |
run: dart format --set-exit-if-changed --output none . | |
- name: Analyze project source | |
run: flutter analyze --no-fatal-infos |