Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Commit

Permalink
ci: setup GitHub Actions
Browse files Browse the repository at this point in the history
Implements: #5
  • Loading branch information
vmichalak committed Nov 10, 2024
1 parent 381d473 commit a08049e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/github-action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: bloc_lint

on:
pull_request:
branches: [ main ]
push:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.24.1'
channel: 'stable'

- name: Get dependencies
run: flutter pub get

- name: Test lint rules
run: cd example && dart run custom_lint && cd ..

0 comments on commit a08049e

Please sign in to comment.