Skip to content

Update package lints to version 6.0.0 #89

Update package lints to version 6.0.0

Update package lints to version 6.0.0 #89

Workflow file for this run

name: "Dart test"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
- name: Install dependencies
run: dart pub get
- name: Dart test
run: |
dart test
chmod +x scripts/*
./scripts/run_snippets.sh
git checkout scripts qr.png Pdf417.png
env:
TEST_CONFIGURATION_ACCESS_TOKEN: ${{ secrets.TEST_CONFIGURATION_ACCESS_TOKEN }}
- name: Dart analyze
run: dart analyze --fatal-infos lib example
- name: Dart check format
run: dart format --output=none --set-exit-if-changed .
- name: Dart try publish
run: dart pub publish --dry-run