mirror of
https://github.com/acamarata/qibla-dart.git
synced 2026-06-30 19:04:27 +00:00
ci: add job names, rename publish-dry-run to publish-check
This commit is contained in:
parent
ff498318db
commit
4ca3ca6258
1 changed files with 6 additions and 3 deletions
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
|
|
@ -8,20 +8,22 @@ on:
|
|||
|
||||
jobs:
|
||||
test:
|
||||
name: Test (Dart ${{ matrix.dart-version }})
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
sdk: [stable, beta]
|
||||
dart-version: [stable, beta]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dart-lang/setup-dart@v1
|
||||
with:
|
||||
sdk: ${{ matrix.sdk }}
|
||||
sdk: ${{ matrix.dart-version }}
|
||||
- run: dart pub get
|
||||
- run: dart analyze
|
||||
- run: dart test
|
||||
|
||||
format:
|
||||
name: Format
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
@ -31,7 +33,8 @@ jobs:
|
|||
- run: dart pub get
|
||||
- run: dart format --set-exit-if-changed .
|
||||
|
||||
publish-dry-run:
|
||||
publish-check:
|
||||
name: Publish Check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
|
|||
Loading…
Reference in a new issue