mirror of
https://github.com/lichess-org/dartchess.git
synced 2026-05-26 13:51:01 +00:00
e023016b91
Bumps the ci-dependencies group with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 4 to 5 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: ci-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
35 lines
786 B
YAML
35 lines
786 B
YAML
name: Dart
|
|
|
|
on:
|
|
push:
|
|
branches: ["main"]
|
|
pull_request:
|
|
branches: ["main"]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest]
|
|
sdk: [stable]
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: dart-lang/setup-dart@v1.4
|
|
with:
|
|
sdk: ${{ matrix.sdk }}
|
|
|
|
- name: Install dependencies
|
|
run: dart pub get
|
|
|
|
- name: Verify formatting
|
|
run: |
|
|
dart format --output=none --set-exit-if-changed $(find lib/src -name "*.dart" -not \( -name "*models.dart" \) )
|
|
dart format --output=none --set-exit-if-changed $(find test -name "*.dart" )
|
|
|
|
- name: Analyze project source
|
|
run: dart analyze
|
|
|
|
- name: Run tests
|
|
run: dart test -x full_perft
|