Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#167 Add Dart GitHub Workflow #169

Merged
merged 3 commits into from
Feb 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ on:
branches: ["main"]
paths:
- "ports/cpp/**"
- ".github/workflows/*"
- ".github/workflows/cmake.yml"
- "tests/*.g4"
pull_request:
branches: ["main"]
paths:
- "ports/cpp/**"
- ".github/workflows/*"
- ".github/workflows/cmake.yml"
- "tests/*.g4"

jobs:
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Dart

on:
push:
branches: ["main"]
paths:
- "ports/dart/**"
- ".github/workflows/dart.yml"
pull_request:
branches: ["main"]
paths:
- "ports/dart/**"
- ".github/workflows/dart.yml"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Dart
uses: dart-lang/setup-dart@v1

- name: Test
working-directory: ${{github.workspace}}/ports/dart
run: dart test
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:
branches: [ main ]
paths:
- "ports/java/**"
- ".github/workflows/*"
- ".github/workflows/maven.yml"
pull_request:
branches: [ main ]
paths:
- "ports/java/**"
- ".github/workflows/*"
- ".github/workflows/maven.yml"

jobs:
build:
Expand Down
10 changes: 10 additions & 0 deletions ports/dart/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"image": "dart",
"customizations": {
"vscode": {
"extensions": [
"dart-code.dart-code"
]
}
}
}