Skip to content

Commit

Permalink
fix: syntax error in action (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
thelukewalton committed Jun 26, 2024
1 parent b8b4827 commit a5fee0b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 20 deletions.
25 changes: 11 additions & 14 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Code Quality
name: CI - Code Quality
on:
workflow_call:

Expand All @@ -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/[email protected]
with:
token: ${{secrets.GITHUB_TOKEN}}
6 changes: 1 addition & 5 deletions .github/workflows/on-main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: release-please
name: CI - On Main
on:
push:
branches:
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "CI - Release"
name: CI - On Release
on:
push:
tags:
Expand All @@ -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:
Expand Down

0 comments on commit a5fee0b

Please sign in to comment.