Skip to content

Commit

Permalink
Add quest testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mosuem committed Dec 5, 2024
1 parent 74b591c commit abf8a07
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/quest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: package:firehose

permissions: read-all

on:
pull_request:
branches: [ main ]
paths:
- '.github/workflows/quest.yml'
- 'pkgs/quest/**'
push:
branches: [ main ]
paths:
- '.github/workflows/quest.yml'
- 'pkgs/quest/**'
schedule:
- cron: '0 0 * * 0' # weekly

defaults:
run:
working-directory: pkgs/quest

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [stable, dev]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: ${{ matrix.sdk }}

- run: dart pub get

- run: dart analyze --fatal-infos

- run: dart format --output=none --set-exit-if-changed .
if: ${{ matrix.sdk == 'stable' }}

- run: dart test

0 comments on commit abf8a07

Please sign in to comment.