ci: implement automated versioning #35
Workflow file for this run
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: all_packages | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
pull_request: | |
branches: | |
- "*" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
analyze_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: "stable" | |
flutter-version: "3.10.2" | |
cache: true | |
- name: Set SSH Key | |
uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{secrets.SSH_PRIVATE_KEY}} | |
- name: Install Melos and run pub get | |
uses: bluefireteam/melos-action@v1 | |
with: | |
melos-version: "3.0.1" | |
- name: Run Analyze | |
run: melos run analyze | |
- name: Run Test | |
run: melos run test --no-select |