Skip to content

Commit 113ef06

Browse files
authored
Merge pull request #75 from fredeil/copilot/add-ci-workflow-for-tests
ci: add CI workflow for tests, format check, and static analysis
2 parents fa11db0 + d656eaf commit 113ef06

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: dart-lang/setup-dart@v1
17+
- run: dart pub get
18+
- run: dart format --output=none --set-exit-if-changed .
19+
- run: dart analyze --fatal-infos
20+
- run: dart test

0 commit comments

Comments
 (0)