Skip to content

Commit

Permalink
ci: Update pipeline to use Melos
Browse files Browse the repository at this point in the history
  • Loading branch information
spydon committed Jan 21, 2024
1 parent e297f55 commit f8015b7
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 21 deletions.
35 changes: 20 additions & 15 deletions .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,33 +18,38 @@ jobs:
channel: 'stable'
- uses: flame-engine/flame-dartdoc-action@v2

format:
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
- uses: bluefireteam/melos-action@v3
- name: "Analyze with latest stable"
uses: invertase/[email protected]
with:
channel: 'stable'
- uses: flame-engine/flame-format-action@v1
fatal-infos: true

analyze:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- uses: flame-engine/flame-analyze-action@v2
cache: true
- uses: bluefireteam/melos-action@v3
- name: Run format
run: melos format
# END LINTING STAGE

# BEGIN TESTING STAGE
test:
needs: [dartdoc, format, analyze]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- uses: flame-engine/flame-test-action@v1
cache: true
- uses: bluefireteam/melos-action@v3
- name: Run tests
run: melos test
# END TESTING STAGE
13 changes: 7 additions & 6 deletions packages/tiled/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)
MIT License

Copyright (c) <year> <copyright holders>
Copyright (c) 2021 Blue Fire

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -9,13 +9,14 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

0 comments on commit f8015b7

Please sign in to comment.