Skip to content

feat: v2.1.1, loosen dependency constraints for meta and collection #52

feat: v2.1.1, loosen dependency constraints for meta and collection

feat: v2.1.1, loosen dependency constraints for meta and collection #52

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
branches:
- master
jobs:
kana_kit:
runs-on: ubuntu-latest
container:
image: dart:3.5.0
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
run: dart pub get
- name: Format
run: dart format --output none --set-exit-if-changed .
- name: Analyze
run: dart analyze --fatal-infos --fatal-warnings lib test
- name: Test
run: dart run coverage:test_with_coverage
- name: Dry run publish
run: |
echo "Copy credentials"
mkdir -p ~/.pub-cache
echo "$CREDENTIAL_JSON" > ~/.pub-cache/credentials.json
echo "Run pub publish --dry-run"
dart pub publish --dry-run
env:
CREDENTIAL_JSON: ${{ secrets.CREDENTIAL_JSON }}
- name: Publish codecov
shell: bash
run: bash <(curl -s https://codecov.io/bash)
- name: Check codecov
uses: VeryGoodOpenSource/very_good_coverage@v2
with:
path: ./coverage/lcov.info
exclude: '**/*.g.dart lib/src/models/romanization/**'
min_coverage: 99