Skip to content

Commit

Permalink
Moving fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mosuem committed Dec 9, 2024
1 parent 58c3f90 commit 46584c2
Show file tree
Hide file tree
Showing 12 changed files with 57 additions and 82 deletions.
4 changes: 4 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@
- changed-files:
- any-glob-to-any-file: 'pkgs/json_rpc_2/**'

'package:markdown':
- changed-files:
- any-glob-to-any-file: 'pkgs/markdown/**'

'package:mime':
- changed-files:
- any-glob-to-any-file: 'pkgs/mime/**'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/clock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:
push:
branches: [ main ]
paths:
- '.github/workflows/clock.yml'
- '.github/workflows/clock.yaml'
- 'pkgs/clock/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/clock.yml'
- '.github/workflows/clock.yaml'
- 'pkgs/clock/**'
schedule:
- cron: "0 0 * * 0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,29 @@
name: Dart CI
name: package:markdown

on:
# Run on PRs and pushes to the default branch.
push:
branches: [ master ]
branches: [ main ]
paths:
- '.github/workflows/markdown.yaml'
- 'pkgs/markdown/**'
pull_request:
branches: [ master ]
branches: [ main ]
paths:
- '.github/workflows/markdown.yaml'
- 'pkgs/markdown/**'
schedule:
- cron: "0 0 * * 0"

env:
PUB_ENVIRONMENT: bot.github


defaults:
run:
working-directory: pkgs/markdown/


jobs:
# Check code formatting and static analysis on a single OS (linux)
# against Dart dev.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,20 @@ on:
schedule:
# “At 00:00 (UTC) on Sunday.”
- cron: '0 0 * * 0'

defaults:
run:
working-directory: pkgs/markdown/

jobs:
crash-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94

- name: Install dependencies
run: dart pub get

- name: Run crash_test.dart
run: dart test -P crash_test test/crash_test.dart
Original file line number Diff line number Diff line change
@@ -1,17 +1,29 @@
# Run a smoke test against package:flutter_markdown.

name: flutter_markdown
name: markdown_flutter

on:
schedule:
# “At 00:00 (UTC) on Sunday.”
- cron: '0 0 * * 0'
# Run on PRs and pushes to the default branch.
push:
branches: [ master ]
branches: [ main ]
paths:
- '.github/workflows/markdown.yaml'
- 'pkgs/markdown/**'
pull_request:
branches: [ master ]
branches: [ main ]
paths:
- '.github/workflows/markdown.yaml'
- 'pkgs/markdown/**'
schedule:
- cron: "0 0 * * 0"

env:
PUB_ENVIRONMENT: bot.github


permissions: read-all
defaults:
run:
working-directory: pkgs/markdown/

jobs:
smoke-test:
Expand All @@ -21,8 +33,8 @@ jobs:
- name: clone dart-lang/markdown
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
repository: dart-lang/markdown
path: markdown
repository: dart-lang/tools
path: tools_repo

- name: clone flutter/packages
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
Expand All @@ -44,7 +56,7 @@ jobs:
run: |
echo "dependency_overrides:" > pubspec_overrides.yaml
echo " markdown:" >> pubspec_overrides.yaml
echo " path: ../../../markdown" >> pubspec_overrides.yaml
echo " path: ../../../tools_repo/pkgs/markdown" >> pubspec_overrides.yaml
- name: flutter pub get
working-directory: flutter_packages/packages/flutter_markdown
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ don't naturally belong to other topic monorepos (like
| [graphs](pkgs/graphs/) | Graph algorithms that operate on graphs in any representation. | [![package issues](https://img.shields.io/badge/package:graphs-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Agraphs) | [![pub package](https://img.shields.io/pub/v/graphs.svg)](https://pub.dev/packages/graphs) |
| [html](pkgs/html/) | APIs for parsing and manipulating HTML content outside the browser. | [![package issues](https://img.shields.io/badge/package:html-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ahtml) | [![pub package](https://img.shields.io/pub/v/html.svg)](https://pub.dev/packages/html) |
| [json_rpc_2](pkgs/json_rpc_2/) | Utilities to write a client or server using the JSON-RPC 2.0 spec. | [![package issues](https://img.shields.io/badge/package:json_rpc_2-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ajson_rpc_2) | [![pub package](https://img.shields.io/pub/v/json_rpc_2.svg)](https://pub.dev/packages/json_rpc_2) |
| [markdown](pkgs/markdown/) | A portable Markdown library written in Dart that can parse Markdown into HTML. | [![pub package](https://img.shields.io/pub/v/markdown.svg)](https://pub.dev/packages/markdown) |
| [mime](pkgs/mime/) | Utilities for handling media (MIME) types, including determining a type from a file extension and file contents. | [![package issues](https://img.shields.io/badge/package:mime-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Amime) | [![pub package](https://img.shields.io/pub/v/mime.svg)](https://pub.dev/packages/mime) |
| [oauth2](pkgs/oauth2/) | A client library for authenticating with a remote service via OAuth2 on behalf of a user, and making authorized HTTP requests with the user's OAuth2 credentials. | [![package issues](https://img.shields.io/badge/package:oauth2-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aoauth2) | [![pub package](https://img.shields.io/pub/v/oauth2.svg)](https://pub.dev/packages/oauth2) |
| [source_map_stack_trace](pkgs/source_map_stack_trace/) | A package for applying source maps to stack traces. | [![package issues](https://img.shields.io/badge/package:source_map_stack_trace-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Asource_map_stack_trace) | [![pub package](https://img.shields.io/pub/v/source_map_stack_trace.svg)](https://pub.dev/packages/source_map_stack_trace) |
Expand Down
14 changes: 0 additions & 14 deletions pkgs/markdown/.github/dependabot.yaml

This file was deleted.

35 changes: 0 additions & 35 deletions pkgs/markdown/.github/workflows/no-response.yml

This file was deleted.

14 changes: 0 additions & 14 deletions pkgs/markdown/.github/workflows/publish.yaml

This file was deleted.

4 changes: 4 additions & 0 deletions pkgs/markdown/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 7.2.4

* Move to `dart-lang/tools` monorepo.

## 7.2.3

* Fix an issue with checkbox list items separated with blank lines (#602).
Expand Down
5 changes: 2 additions & 3 deletions pkgs/markdown/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[![Build Status](https://github.com/dart-lang/markdown/workflows/Dart%20CI/badge.svg)](https://github.com/dart-lang/markdown/actions?query=workflow%3A"Dart+CI"+branch%3Amaster)
[![Pub](https://img.shields.io/pub/v/markdown.svg)](https://pub.dev/packages/markdown)
[![Build Status](https://github.com/dart-lang/tools/actions/workflows/markdown.yaml/badge.svg)](https://github.com/dart-lang/tools/actions/workflows/markdown.yaml)
[![pub package](https://img.shields.io/pub/v/markdown.svg)](https://pub.dev/packages/markdown)
[![package publisher](https://img.shields.io/pub/publisher/markdown.svg)](https://pub.dev/packages/markdown/publisher)
[![Coverage Status](https://coveralls.io/repos/github/dart-lang/markdown/badge.svg?branch=master)](https://coveralls.io/github/dart-lang/markdown?branch=master)

A portable Markdown library written in Dart. It can parse Markdown into
HTML on both the client and server.
Expand Down
2 changes: 1 addition & 1 deletion pkgs/markdown/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: markdown
version: 7.2.3
version: 7.2.4
description: >-
A portable Markdown library written in Dart that can parse Markdown into HTML.
repository: https://github.com/dart-lang/tools/tree/main/pkgs/markdown
Expand Down

0 comments on commit 46584c2

Please sign in to comment.