This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
Add discontinuation notice #441
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
on: pull_request | |
name: CI | |
jobs: | |
check-version-and-changelog: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: comigor/actions/check-version-and-changelog@master | |
with: | |
repo_token: ${{ github.token }} | |
base_ref: ${{ github.base_ref }} | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dart-lang/[email protected] | |
with: | |
sdk: stable | |
- id: install | |
name: Install dependencies | |
run: dart pub get | |
- name: Check formatting | |
if: always() && steps.install.outcome == 'success' | |
run: dart format --set-exit-if-changed . | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dart-lang/[email protected] | |
with: | |
sdk: stable | |
- id: install | |
name: Install dependencies | |
run: dart pub get | |
- name: Test | |
if: always() && steps.install.outcome == 'success' | |
run: dart test | |
analyze: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dart-lang/[email protected] | |
with: | |
sdk: stable | |
- id: install | |
name: Install dependencies | |
run: dart pub get | |
- name: Analyze | |
if: always() && steps.install.outcome == 'success' | |
run: dart analyze |