diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 40583b5d..bc28c5fb 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -1,4 +1,4 @@ -name: Code Quality +name: CI - Code Quality on: workflow_call: @@ -7,16 +7,13 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 20 steps: - code-quality: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - repository: ${{github.event.pull_request.head.repo.full_name}} - ref: ${{ github.head_ref }} - - uses: subosito/flutter-action@v2 - with: - cache: true - - uses: ZebraDevs/flutter-code-quality@latest - with: - token: ${{secrets.GITHUB_TOKEN}} + - uses: actions/checkout@v4 + with: + repository: ${{github.event.pull_request.head.repo.full_name}} + ref: ${{ github.head_ref }} + - uses: subosito/flutter-action@v2 + with: + cache: true + - uses: ZebraDevs/flutter-code-quality@v1.0.0 + with: + token: ${{secrets.GITHUB_TOKEN}} diff --git a/.github/workflows/on-main.yml b/.github/workflows/on-main.yml index db28ee31..6c1ede34 100644 --- a/.github/workflows/on-main.yml +++ b/.github/workflows/on-main.yml @@ -1,4 +1,4 @@ -name: release-please +name: CI - On Main on: push: branches: @@ -16,12 +16,8 @@ jobs: with: token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - code-quality: - uses: ./.github/workflows/code-quality.yml - deploy-qa-demo: name: Deploy preview version of the storybook on firebase - needs: code-quality runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/on-release.yml b/.github/workflows/on-release.yml index 48cb6c64..5e95500d 100644 --- a/.github/workflows/on-release.yml +++ b/.github/workflows/on-release.yml @@ -1,4 +1,4 @@ -name: "CI - Release" +name: CI - On Release on: push: tags: @@ -25,6 +25,7 @@ jobs: run: dart pub publish --dry-run - name: Publish run: dart pub publish --force + deploy-website: runs-on: ubuntu-latest steps: