mirror of
https://github.com/acamarata/qibla-dart.git
synced 2026-07-03 20:30:40 +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:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
name: Test (Dart ${{ matrix.dart-version }})
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
sdk: [stable, beta]
|
dart-version: [stable, beta]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: dart-lang/setup-dart@v1
|
- uses: dart-lang/setup-dart@v1
|
||||||
with:
|
with:
|
||||||
sdk: ${{ matrix.sdk }}
|
sdk: ${{ matrix.dart-version }}
|
||||||
- run: dart pub get
|
- run: dart pub get
|
||||||
- run: dart analyze
|
- run: dart analyze
|
||||||
- run: dart test
|
- run: dart test
|
||||||
|
|
||||||
format:
|
format:
|
||||||
|
name: Format
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
@ -31,7 +33,8 @@ jobs:
|
||||||
- run: dart pub get
|
- run: dart pub get
|
||||||
- run: dart format --set-exit-if-changed .
|
- run: dart format --set-exit-if-changed .
|
||||||
|
|
||||||
publish-dry-run:
|
publish-check:
|
||||||
|
name: Publish Check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue