refactor!: Update to windows GameInput api #210
Workflow file for this run
This file contains hidden or 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: cicd | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| env: | |
| FLUTTER_MIN_VERSION: '3.35.0' | |
| jobs: | |
| # BEGIN LINTING STAGE | |
| format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: subosito/flutter-action@v2 | |
| - uses: bluefireteam/melos-action@v3 | |
| - run: melos run format-check | |
| analyze: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version: ${{env.FLUTTER_MIN_VERSION}} | |
| - uses: bluefireteam/melos-action@v3 | |
| - run: melos exec dart analyze . | |
| analyze-latest: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: subosito/flutter-action@v2 | |
| - uses: bluefireteam/melos-action@v3 | |
| - name: "Analyze with latest stable" | |
| uses: invertase/github-action-dart-analyzer@v3 | |
| with: | |
| fatal-infos: true | |
| markdown-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 18 | |
| - run: npm install -g markdownlint-cli | |
| - run: markdownlint . -p .markdownlintignore -c .markdownlint.yaml | |
| super-linter: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: super-linter/super-linter@v5 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| VALIDATE_ALL_CODEBASE: true | |
| DEFAULT_BRANCH: main | |
| VALIDATE_CLANG_FORMAT: true | |
| # END LINTING STAGE | |
| # BEGIN TESTING STAGE | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| cache: true | |
| - uses: bluefireteam/melos-action@v3 | |
| - name: Run tests | |
| run: melos test | |
| # END TESTING STAGE |