Skip to content

Add GitHub actions for automatic publishing changes to pub.dev #3

Add GitHub actions for automatic publishing changes to pub.dev

Add GitHub actions for automatic publishing changes to pub.dev #3

Workflow file for this run

name: ci
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
branches:
- 'main'
paths-ignore:
- '**.md'
- 'docs/**'
permissions: write-all
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
ci:
if: |
github.repository_owner == 'eaceto' &&
github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
# Checks out a copy of the repo.
- name: Check out code
uses: actions/checkout@v4
# Install Flutter stable version
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
# Get dependencies
- run: flutter pub get
# Run tests
- run: flutter test