Skip to content

chore: update CI, remove unused files #1

chore: update CI, remove unused files

chore: update CI, remove unused files #1

Workflow file for this run

name: Dart
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
# Note that this workflow uses the latest stable version of the Dart SDK.
# Docker images for other release channels - like dev and beta - are also
# available. See https://hub.docker.com/r/google/dart/ for the available
# images.
container:
image: dart:beta
steps:
- uses: actions/checkout@v4
- name: Print Dart SDK version
run: dart --version
- name: Install dependencies
run: dart pub get
- name: Verify formatting
run: dart format --output=none --set-exit-if-changed .
- name: Analyze project source
run: dart analyze --fatal-infos
# Tests on VM/native platform
- name: Run VM tests
run: dart test -p vm
# Tests on Chrome
- name: Install Chrome
run: |
apt-get update
apt-get install -y wget gnupg
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list
apt-get update
apt-get install -y google-chrome-stable
- name: Run Chrome tests
run: dart test -p chrome