Skip to content

CI Update 2024 (#62) #320

CI Update 2024 (#62)

CI Update 2024 (#62) #320

Workflow file for this run

name: Dart CI
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
dartversion: [
"google/dart:2.12",
"dart:3.0",
"dart:stable"
]
container:
image: ${{ matrix.dartversion }}
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: dart pub get || pub get
- name: Run tests
run: dart pub run test || pub run test
formatting:
runs-on: ubuntu-latest
container:
image: dart:3.5
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: dart pub get
- name: check formatting
run: dart format --fix --set-exit-if-changed .
lint:
runs-on: ubuntu-latest
container:
image: dart:3.5
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: dart pub get
- name: lint
run: dart analyze --fatal-infos
- name: docs
run: dart doc .
- name: Verify package completeness
run: dart pub publish -n