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 6742161
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/github-action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: bloc_lint

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

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup Dart
uses: dart-lang/setup-dart@v1
with:
sdk: '3.5.1'

- name: Get dependencies
run: dart pub get

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

0 comments on commit 6742161

Please sign in to comment.