Skip to content
Closed
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
36 changes: 36 additions & 0 deletions .github/workflows/api_benchmark.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: package:api_benchmark
permissions: read-all

on:
# Run CI on pushes to the main branch and on PRs against main.
push:
branches: [master]
pull_request:
branches: [master]
schedule:
- cron: "0 0 * * 0"

defaults:
run:
working-directory: api_benchmark/

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [stable, dev]

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94
with:
sdk: ${{ matrix.sdk }}
- run: ../tool/setup.sh
- run: ./compile_protos.sh

- run: dart pub get
- run: dart analyze --fatal-infos
- run: dart format --output=none --set-exit-if-changed .
if: ${{ matrix.sdk == 'stable' }}
36 changes: 36 additions & 0 deletions .github/workflows/benchmarks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: package:benchmarks
permissions: read-all

on:
# Run CI on pushes to the main branch and on PRs against main.
push:
branches: [master]
pull_request:
branches: [master]
schedule:
- cron: "0 0 * * 0"

defaults:
run:
working-directory: benchmarks/

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [stable, dev]

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94
with:
sdk: ${{ matrix.sdk }}
- run: ../tool/setup.sh
- run: ./tool/compile_protos.sh

- run: dart pub get
- run: dart analyze --fatal-infos
- run: dart format --output=none --set-exit-if-changed .
if: ${{ matrix.sdk == 'stable' }}
Loading