Update samples for Dart v3.1 and package:lints
v3
#377
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: container_docker_test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
schedule: | |
- cron: "0 0 * * 0" | |
defaults: | |
run: | |
shell: bash | |
working-directory: server/simple | |
env: | |
PUB_ENVIRONMENT: bot.github | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
dart: [ stable ] | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 | |
- name: Cache Pub hosted dependencies | |
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 | |
with: | |
path: "~/.pub-cache/hosted" | |
key: "os:ubuntu-latest;pub-cache-hosted;dart:stable" | |
restore-keys: | | |
os:ubuntu-latest;pub-cache-hosted | |
os:ubuntu-latest | |
- uses: dart-lang/setup-dart@8a4b97ea2017cc079571daec46542f76189836b1 | |
with: | |
sdk: ${{ matrix.dart }} | |
- run: dart pub get | |
- run: tool/docker_test_script.sh |