feat: Use github actions #1
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: Flutter app CI | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
merge_group: | ||
concurrency: | ||
group: ${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
dart: | ||
permissions: | ||
contents: read | ||
uses: famedly/frontend-ci-templates/.github/workflows/dart.yml@main | ||
Check failure on line 18 in .github/workflows/main.yml GitHub Actions / .github/workflows/main.ymlInvalid workflow file
|
||
with: | ||
flutter_version: 3.10.4 | ||
dart_version: 3.0.0 | ||
secrets: | ||
ssh_key: "${{ secrets.CI_SSH_PRIVATE_KEY }}" | ||
general: | ||
permissions: | ||
contents: read | ||
uses: famedly/frontend-ci-templates/.github/workflows/general.yml@main | ||
app_jobs: | ||
secrets: inherit | ||
uses: ./.github/workflows/app.yml | ||
with: | ||
flutter_version: 3.10.4 | ||
pr: ${{ github.event.pull_request.number }} | ||
# missing: | ||
# - docker branches | ||
# - pages | ||
# - cleaning up review apps | ||
# - integration tests | ||
# - some release pipelines |