From 9fff93dab84fb72913d39b37e1a3f3b64d3a48b1 Mon Sep 17 00:00:00 2001 From: Luke Walton Date: Wed, 26 Jun 2024 16:37:14 +0100 Subject: [PATCH] fix: syntax error in action (#118) --- .github/workflows/code-quality.yml | 25 +++++++++++-------------- .github/workflows/on-main.yml | 5 +---- .github/workflows/on-release.yml | 3 ++- 3 files changed, 14 insertions(+), 19 deletions(-) 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..1e922c6b 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,9 +16,6 @@ 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 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: