Bump coverallsapp/github-action from 2.0.0.pre.rc1 to 2.2.3 (#72)

Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 2.0.0.pre.rc1 to 2.2.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/coverallsapp/github-action/releases">coverallsapp/github-action's releases</a>.</em></p>
<blockquote>
<h2>v2.2.3</h2>
<p>No release notes provided.</p>
<h2>v2.2.2</h2>
<p>No release notes provided.</p>
<h2>v2.2.1</h2>
<p>No release notes provided.</p>
<h2>v2.2.0</h2>
<p>No release notes provided.</p>
<h2>v2.1.2</h2>
<p>No release notes provided.</p>
<h2>v2.1.1</h2>
<p>No release notes provided.</p>
<h2>v2.1.0</h2>
<p>No release notes provided.</p>
<h2>v2.0.0</h2>
<p>No release notes provided.</p>
<h2>v2</h2>
<h1>Notable changes:</h1>
<ul>
<li><strong>v2</strong> uses <a href="https://github.com/coverallsapp/coverage-reporter">universal coverage reporter</a> instead of <a href="https://github.com/nickmerwin/node-coveralls">node-coveralls</a> like in <strong>v1</strong>.</li>
</ul>
<h2>Upgrading (v1 -&gt; v2)</h2>
<ul>
<li>
<p>Option <code>path-to-lcov</code> is now deprecated, use <code>file</code> instead.</p>
</li>
<li>
<p>You can also skip using the <code>file</code> option and coveralls will try to find all supported coverage files and combine their data.</p>
</li>
<li>
<p>If coveralls fails to determine your coverage report format, use explicit <code>format</code> option to specify it. See <a href="https://github.com/coverallsapp/coverage-reporter#supported-coverage-report-formats">supported values</a>.</p>
</li>
</ul>
<h2>v2.0.0-rc3</h2>
<p>No release notes provided.</p>
<h2>v2.0.0-rc2</h2>
<p>No release notes provided.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/coverallsapp/github-action/commit/3dfc5567390f6fa9267c0ee9c251e4c8c3f18949"><code>3dfc556</code></a> fix: don't fail if bin directory exists on windows (<a href="https://redirect.github.com/coverallsapp/github-action/issues/189">#189</a>)</li>
<li><a href="https://github.com/coverallsapp/github-action/commit/3b7078ee895f74fc267b7b267c88211df59fa816"><code>3b7078e</code></a> feat: use pwsh for windows runner (<a href="https://redirect.github.com/coverallsapp/github-action/issues/188">#188</a>)</li>
<li><a href="https://github.com/coverallsapp/github-action/commit/95b1a2355bd0e526ad2fd62da9fd386ad4c98474"><code>95b1a23</code></a> feat: add files option (<a href="https://redirect.github.com/coverallsapp/github-action/issues/185">#185</a>)</li>
<li><a href="https://github.com/coverallsapp/github-action/commit/12d23ccd512af6f292f5eaf42c191d64928b135c"><code>12d23cc</code></a> feat: add fail-on-error option (<a href="https://redirect.github.com/coverallsapp/github-action/issues/184">#184</a>)</li>
<li><a href="https://github.com/coverallsapp/github-action/commit/8e1cba00ac8bb526c6a1b96b810071687e5e8310"><code>8e1cba0</code></a> feat: add measure option (<a href="https://redirect.github.com/coverallsapp/github-action/issues/183">#183</a>)</li>
<li><a href="https://github.com/coverallsapp/github-action/commit/cb1c78cc8dd8522acce1a460c643e67515393ef6"><code>cb1c78c</code></a> docs: clarify coveralls repo permissions (<a href="https://redirect.github.com/coverallsapp/github-action/issues/182">#182</a>)</li>
<li><a href="https://github.com/coverallsapp/github-action/commit/3b7440a0fbc8822c731c93250c2c5506ca51a48f"><code>3b7440a</code></a> Update README.md (<a href="https://redirect.github.com/coverallsapp/github-action/issues/181">#181</a>)</li>
<li><a href="https://github.com/coverallsapp/github-action/commit/c7885c00cb7ec0b8f9f5ff3f53cddb980f7a4412"><code>c7885c0</code></a> chore: support explicit cli arguments (<a href="https://redirect.github.com/coverallsapp/github-action/issues/179">#179</a>)</li>
<li><a href="https://github.com/coverallsapp/github-action/commit/059e56d143348431aafb4917fc9843532d0b6ac5"><code>059e56d</code></a> docs: describe debug option</li>
<li><a href="https://github.com/coverallsapp/github-action/commit/f350da2c033043742f89e8c0b7b5145a1616da6d"><code>f350da2</code></a> chore: add source header (<a href="https://redirect.github.com/coverallsapp/github-action/issues/167">#167</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/coverallsapp/github-action/compare/30402dfd78555606e51eff084546182de0647a4a...3dfc5567390f6fa9267c0ee9c251e4c8c3f18949">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=coverallsapp/github-action&package-manager=github_actions&previous-version=2.0.0.pre.rc1&new-version=2.2.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>
1 file changed
tree: 3e508333b3f92fc07abc2bb36991482f94b397a6
  1. .github/
  2. example/
  3. lib/
  4. test/
  5. .gitignore
  6. analysis_options.yaml
  7. CHANGELOG.md
  8. LICENSE
  9. pubspec.yaml
  10. README.md
README.md

Dart CI pub package package publisher Coverage Status

A library for YAML manipulation while preserving comments.

Usage

A simple usage example:

import 'package:yaml_edit/yaml_edit.dart';

void main() {
  final yamlEditor = YamlEditor('{YAML: YAML}');
  yamlEditor.update(['YAML'], "YAML Ain't Markup Language");
  print(yamlEditor);
  // Expected output:
  // {YAML: YAML Ain't Markup Language}
}

Example: Converting JSON to YAML (block formatted)

void main() {
  final jsonString = r'''
{
  "key": "value",
  "list": [
    "first",
    "second",
    "last entry in the list"
  ],
  "map": {
    "multiline": "this is a fairly long string with\nline breaks..."
  }
}
''';
  final jsonValue = json.decode(jsonString);

  // Convert jsonValue to YAML
  final yamlEditor = YamlEditor('');
  yamlEditor.update([], jsonValue);
  print(yamlEditor.toString());
}

Testing

Testing is done in two strategies: Unit testing (/test/editor_test.dart) and Golden testing (/test/golden_test.dart). More information on Golden testing and the input/output format can be found at /test/testdata/README.md.

These tests are automatically run with pub run test.

Limitations

  1. Users are not allowed to define tags in the modifications.
  2. Map keys will always be added in the flow style.