Compare commits

...
50 Commits
Author SHA1 Message Date
Kevin StillhammerandGitHub 0c50076f12 Bump dependencies (#181) 2025-07-14 10:04:26 +02:00
Gareth JonesandGitHub 966d2455d2 feat: support reading Ruff version from tools.poetry.dependencies (#177)
While Poetry does now support PEP 508, it's still common to use
`tool.poetry.dependencies` - we for example still use it because
Renovate does not support doing lockfile updates for Poetry when using
PEP 508.

This modifies the version finder logic to support determining the Ruff
version from `pyproject.toml` files that use ``tool.poetry.dependencies`
2025-07-14 09:58:25 +02:00
b9e360afba chore: update known checksums for 0.12.3 (#180)
chore: update known checksums for 0.12.3

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-07-12 06:45:22 +00:00
2b785e352d chore: update known checksums for 0.12.2 (#175)
chore: update known checksums for 0.12.2

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-07-04 05:47:25 +00:00
8c3aa952c0 chore: update known checksums for 0.12.1 (#169)
chore: update known checksums for 0.12.1

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-06-27 05:54:55 +00:00
52ac3ada91 chore: update known checksums for 0.12.0 (#167)
chore: update known checksums for 0.12.0

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-06-18 07:44:35 +00:00
813f619ec2 chore: update known checksums for 0.11.13 (#158)
chore: update known checksums for 0.11.13

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-06-16 18:00:42 +00:00
Kevin StillhammerandGitHub 110a15d08b Fix test-pep440-version-specifier (#165)
It makes no sense to expect a deterministic test when minor versions for
0.11.x are still getting released
2025-06-16 19:55:35 +02:00
Kevin StillhammerandGitHub 6228face02 Simplify step check all-tests-passed.needs (#155) 2025-05-27 17:43:44 +02:00
Kevin StillhammerandGitHub eaf0ecdd66 Bump dependencies (#152) 2025-05-26 20:48:47 +00:00
Kevin StillhammerandGitHub 78b7b9921e Check that all jobs are in all-tests-passed.needs (#151) 2025-05-26 18:36:12 +00:00
Kevin StillhammerandGitHub 9b2efb7fd8 Add support for pep440 version specifiers (#150)
Fixes: #147
2025-05-26 20:20:17 +02:00
da0c801a2d chore: update known checksums for 0.11.11 (#146)
chore: update known checksums for 0.11.11

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-05-23 07:25:27 +00:00
robertHowlettandGitHub 257550e917 docs: Explain that the default behaviour is ruff check (#142)
This tripped me up, I use ruff for both checking & formatting and
expected it to do both by default.
2025-05-19 10:36:40 +00:00
94b3590e87 chore: update known checksums for 0.11.10 (#140)
chore: update known checksums for 0.11.10

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-05-16 05:15:51 +00:00
7a9e8edffe chore: update known checksums for 0.11.9 (#138)
chore: update known checksums for 0.11.9

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-05-11 10:20:28 +02:00
Kevin StillhammerandGitHub 84f83ecf9e Support versions 0.1.8-0.4.7 (#135)
These versions have different artifact names in the GitHub releases

Fixes: #133
2025-05-07 16:58:28 +02:00
Kevin StillhammerandGitHub ea12b8ac41 Inform user of unsupported old version (#134)
Versions older than v0.0.247 do not have binaries in the GitHub releases
2025-05-07 13:28:39 +00:00
b259b0b299 chore: update known checksums for 0.11.8 (#130)
chore: update known checksums for 0.11.8

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-05-02 07:03:17 +00:00
c6bea5606c chore: update known checksums for 0.11.7 (#125)
chore: update known checksums for 0.11.7

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-04-27 13:01:02 +00:00
Simon BergerandGitHub 400ab365db Add support for reading the ruff version from Poetry groups (#127)
Not sure if this is a desired feature since this was requested already
(https://github.com/astral-sh/ruff-action/issues/40#issuecomment-2581207691)
without any sort of response.
Unfortunately Poetry doesn't yet support PEP 735
(https://github.com/python-poetry/poetry/issues/9751) and it doesn't
make sense to add ruff as a project dependency.
2025-04-27 12:37:48 +00:00
719c6e52c1 chore: update known checksums for 0.11.6 (#123)
chore: update known checksums for 0.11.6

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-04-18 06:59:08 +00:00
9a7114796b chore: update known checksums for 0.11.5 (#120)
chore: update known checksums for 0.11.5

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-04-11 06:05:56 +00:00
07c64b80af chore: update known checksums for 0.11.4 (#117)
chore: update known checksums for 0.11.4

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-04-05 12:37:12 +02:00
f800ba97f6 chore: update known checksums for 0.11.3 (#116)
chore: update known checksums for 0.11.3

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-04-04 06:06:48 +00:00
fd7f7e1868 chore: update known checksums for 0.11.2 (#108)
chore: update known checksums for 0.11.2

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-03-22 07:44:41 +00:00
Kevin StillhammerandGitHub faac838a0b Add required permissions and all-tests-passed (#107) 2025-03-21 15:06:07 +01:00
AvasamandGitHub 94d4d711a6 Mention the --diff flag for format --check (#104)
Just like for the action run adding annotations, the CI is the place
where you'd want extra information.

Especially information that tells you *how* to fix an issue, which is
relevant when a contributor doesn't want to / can't run the tool locally
(an edit through the GitHub UI could be more convenient, don't want to
bother installing extra tools locally, they're having issues not picking
up the right Ruff version when ran locally, etc.)

It's also easier to opt-out of copy-pasting this flag, than not knowing
about it in the first place.

Hence I think this documentation change is a positive to help anyone
integrate this action into their CI for check+formatting by looking at
the readme.
2025-03-19 13:53:29 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9828f49eb4 Bump @types/node from 22.13.4 to 22.13.10 (#98)
Bumps
[@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)
from 22.13.4 to 22.13.10.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/node&package-manager=npm_and_yarn&previous-version=22.13.4&new-version=22.13.10)](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`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-16 21:42:45 +01:00
Kevin StillhammerandGitHub 8bfebd2812 Inline action-update-semver (#103)
What the action does is easily inlined. This reduces the attack surface
of this repo.
2025-03-16 21:41:55 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
b08b0d12d5 Bump typescript from 5.7.3 to 5.8.2 (#94)
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.7.3
to 5.8.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/microsoft/TypeScript/releases">typescript's
releases</a>.</em></p>
<blockquote>
<h2>TypeScript 5.8</h2>
<p>For release notes, check out the <a
href="https://devblogs.microsoft.com/typescript/announcing-typescript-5-8/">release
announcement</a>.</p>
<ul>
<li><a
href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=milestone%3A%22TypeScript+5.8.0%22+is%3Aclosed+">fixed
issues query for Typescript 5.8.0 (Beta)</a>.</li>
<li><a
href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=milestone%3A%22TypeScript+5.8.1%22+is%3Aclosed+">fixed
issues query for Typescript 5.8.1 (RC)</a>.</li>
<li><a
href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=milestone%3A%22TypeScript+5.8.2%22+is%3Aclosed+">fixed
issues query for Typescript 5.8.2 (Stable)</a>.</li>
</ul>
<p>Downloads are available on:</p>
<ul>
<li><a href="https://www.npmjs.com/package/typescript">npm</a></li>
</ul>
<h2>TypeScript 5.8 RC</h2>
<p>For release notes, check out the <a
href="https://devblogs.microsoft.com/typescript/announcing-typescript-5-8-rc/">release
announcement</a>.</p>
<ul>
<li><a
href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=milestone%3A%22TypeScript+5.8.0%22+is%3Aclosed+">fixed
issues query for Typescript 5.8.0 (Beta)</a>.</li>
<li><a
href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=milestone%3A%22TypeScript+5.8.1%22+is%3Aclosed+">fixed
issues query for Typescript 5.8.1 (RC)</a>.</li>
</ul>
<p>Downloads are available on:</p>
<ul>
<li><a href="https://www.npmjs.com/package/typescript">npm</a></li>
</ul>
<h2>TypeScript 5.8 Beta</h2>
<p>For release notes, check out the <a
href="https://devblogs.microsoft.com/typescript/announcing-typescript-5-8-beta/">release
announcement</a>.</p>
<ul>
<li><a
href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=milestone%3A%22TypeScript+5.8.0%22+is%3Aclosed+">fixed
issues query for Typescript 5.8.0 (Beta)</a>.</li>
</ul>
<p>Downloads are available on:</p>
<ul>
<li><a href="https://www.npmjs.com/package/typescript">npm</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/microsoft/TypeScript/commit/beb69e4cdd61b1a0fd9ae21ae58bd4bd409d7217"><code>beb69e4</code></a>
Bump version to 5.8.2 and LKG</li>
<li><a
href="https://github.com/microsoft/TypeScript/commit/8fdbd54160e5a6796a2c2522222553e79d61ec7c"><code>8fdbd54</code></a>
🤖 Pick PR <a
href="https://redirect.github.com/microsoft/TypeScript/issues/61210">#61210</a>
(Fix mistakenly disallowed default e...) into release-5.8 (#...</li>
<li><a
href="https://github.com/microsoft/TypeScript/commit/f4a3a8ae67f2bb437cceec710979c3c107cff177"><code>f4a3a8a</code></a>
🤖 Pick PR <a
href="https://redirect.github.com/microsoft/TypeScript/issues/61175">#61175</a>
(Ban import=require and export= unde...) into release-5.8 (#...</li>
<li><a
href="https://github.com/microsoft/TypeScript/commit/420ff069f7e1844c0b94f591acbd4aa68846e295"><code>420ff06</code></a>
Bump version to 5.8.1-rc and LKG</li>
<li><a
href="https://github.com/microsoft/TypeScript/commit/48eb13fd4ac9cfa1ef67b688e735aae48a24d300"><code>48eb13f</code></a>
Update LKG</li>
<li><a
href="https://github.com/microsoft/TypeScript/commit/fb59c19064a547dd08e02b58fec0c6213711a1f3"><code>fb59c19</code></a>
Merge remote-tracking branch 'origin/main' into release-5.8</li>
<li><a
href="https://github.com/microsoft/TypeScript/commit/df342b7206cb56b56bb3b3aecbb2ee2d2ff7b217"><code>df342b7</code></a>
Fixed <code>rewriteRelativeImportExtensions</code> for
<code>import()</code> within call expression...</li>
<li><a
href="https://github.com/microsoft/TypeScript/commit/775412a81af187e67371cd31719d19ab075b4ef3"><code>775412a</code></a>
Bump github/codeql-action from 3.28.8 to 3.28.9 in the github-actions
group (...</li>
<li><a
href="https://github.com/microsoft/TypeScript/commit/e1629e540ef361167e0c96c8703728a419b6e8e9"><code>e1629e5</code></a>
Pass ignoreErrors=true to more resolveEntityName callers (<a
href="https://redirect.github.com/microsoft/TypeScript/issues/61144">#61144</a>)</li>
<li><a
href="https://github.com/microsoft/TypeScript/commit/6fd17992b00a6e64b51fef60e334b71904d06a54"><code>6fd1799</code></a>
Update LKG</li>
<li>Additional commits viewable in <a
href="https://github.com/microsoft/TypeScript/compare/v5.7.3...v5.8.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=typescript&package-manager=npm_and_yarn&previous-version=5.7.3&new-version=5.8.2)](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`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-16 21:10:14 +01:00
Kevin StillhammerandGitHub aecd4a32f6 Extend information on install only (#102)
Closes: #100
2025-03-16 21:10:00 +01:00
8b3439f688 chore: update known checksums for 0.11.0 (#101)
chore: update known checksums for 0.11.0

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-03-15 08:29:14 +01:00
708db45010 chore: update known checksums for 0.10.0 (#99)
chore: update known checksums for 0.10.0

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-03-14 07:21:37 +01:00
9bdf1198e7 chore: update known checksums for 0.9.10 (#97)
chore: update known checksums for 0.9.10

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-03-08 08:35:32 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
736d6639d0 Bump peter-evans/create-pull-request from 7.0.7 to 7.0.8 (#96)
Bumps
[peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request)
from 7.0.7 to 7.0.8.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/peter-evans/create-pull-request/releases">peter-evans/create-pull-request's
releases</a>.</em></p>
<blockquote>
<h2>Create Pull Request v7.0.8</h2>
<h2>What's Changed</h2>
<ul>
<li>build(deps-dev): bump ts-jest from 29.2.5 to 29.2.6 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3751">peter-evans/create-pull-request#3751</a></li>
<li>build(deps-dev): bump eslint-import-resolver-typescript from 3.8.1
to 3.8.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3752">peter-evans/create-pull-request#3752</a></li>
<li>build(deps): bump <code>@​octokit/plugin-paginate-rest</code> from
11.4.2 to 11.4.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3753">peter-evans/create-pull-request#3753</a></li>
<li>build(deps-dev): bump prettier from 3.5.1 to 3.5.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3754">peter-evans/create-pull-request#3754</a></li>
<li>fix: suppress output for some git operations by <a
href="https://github.com/peter-evans"><code>@​peter-evans</code></a> in
<a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3776">peter-evans/create-pull-request#3776</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/peter-evans/create-pull-request/compare/v7.0.7...v7.0.8">https://github.com/peter-evans/create-pull-request/compare/v7.0.7...v7.0.8</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/271a8d0340265f705b14b6d32b9829c1cb33d45e"><code>271a8d0</code></a>
fix: suppress output for some git operations (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/3776">#3776</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/6f7efd1c24d02e0d947dd3f6f9618019afb36781"><code>6f7efd1</code></a>
test: update cpr-example-command</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/13c47c574799c8eb0a033eba252619135e70f392"><code>13c47c5</code></a>
build(deps-dev): bump prettier from 3.5.1 to 3.5.2 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/3754">#3754</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/63e58290d72e889603c931363c5169ba1bbe3fed"><code>63e5829</code></a>
build(deps): bump <code>@​octokit/plugin-paginate-rest</code> from
11.4.2 to 11.4.3 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/3753">#3753</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/a92c90fcab983421cc9bc736a06daea58c68d0db"><code>a92c90f</code></a>
build(deps-dev): bump eslint-import-resolver-typescript (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/3752">#3752</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/b23b62d48799ec46790610dd74b29cb9ba2eef30"><code>b23b62d</code></a>
build(deps-dev): bump ts-jest from 29.2.5 to 29.2.6 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/3751">#3751</a>)</li>
<li>See full diff in <a
href="https://github.com/peter-evans/create-pull-request/compare/dd2324fc52d5d43c699a5636bcf19fceaa70c284...271a8d0340265f705b14b6d32b9829c1cb33d45e">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=peter-evans/create-pull-request&package-manager=github_actions&previous-version=7.0.7&new-version=7.0.8)](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`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-05 07:57:45 +01:00
bba8eb68c5 chore: update known checksums for 0.9.9 (#92)
chore: update known checksums for 0.9.9

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-03-01 12:56:36 +01:00
140ba44f2c chore: update known checksums for 0.9.8 (#91)
chore: update known checksums for 0.9.8

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-02-28 07:30:21 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5b3aacfc8f Bump @octokit/plugin-paginate-rest from 11.4.2 to 11.4.3 (#90)
Bumps
[@octokit/plugin-paginate-rest](https://github.com/octokit/plugin-paginate-rest.js)
from 11.4.2 to 11.4.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/octokit/plugin-paginate-rest.js/releases"><code>@​octokit/plugin-paginate-rest</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v11.4.3</h2>
<h2><a
href="https://github.com/octokit/plugin-paginate-rest.js/compare/v11.4.2...v11.4.3">11.4.3</a>
(2025-02-24)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>types:</strong> correct pagination return type for data
which is an array (<a
href="https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/662">#662</a>)
(<a
href="https://github.com/octokit/plugin-paginate-rest.js/commit/9a51aad17248ac30250344171f7e3a41ffa3c2c5">9a51aad</a>),
closes <a
href="https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/661">#661</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/octokit/plugin-paginate-rest.js/commit/9a51aad17248ac30250344171f7e3a41ffa3c2c5"><code>9a51aad</code></a>
fix(types): correct pagination return type for data which is an array
(<a
href="https://redirect.github.com/octokit/plugin-paginate-rest.js/issues/662">#662</a>)</li>
<li>See full diff in <a
href="https://github.com/octokit/plugin-paginate-rest.js/compare/v11.4.2...v11.4.3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@octokit/plugin-paginate-rest&package-manager=npm_and_yarn&previous-version=11.4.2&new-version=11.4.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`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-25 07:58:58 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
b11c1acffb Bump peter-evans/create-pull-request from 7.0.6 to 7.0.7 (#89)
Bumps
[peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request)
from 7.0.6 to 7.0.7.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/peter-evans/create-pull-request/releases">peter-evans/create-pull-request's
releases</a>.</em></p>
<blockquote>
<h2>Create Pull Request v7.0.7</h2>
<p>⚙️ Fixes an issue with commit signing where modifications to the same
file in multiple commits squash into the first commit.</p>
<h2>What's Changed</h2>
<ul>
<li>build(deps): bump <code>@​octokit/core</code> from 6.1.2 to 6.1.3 by
<a href="https://github.com/dependabot"><code>@​dependabot</code></a> in
<a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3593">peter-evans/create-pull-request#3593</a></li>
<li>build(deps-dev): bump <code>@​types/node</code> from 18.19.68 to
18.19.70 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3594">peter-evans/create-pull-request#3594</a></li>
<li>Update distribution by <a
href="https://github.com/actions-bot"><code>@​actions-bot</code></a> in
<a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3603">peter-evans/create-pull-request#3603</a></li>
<li>build(deps-dev): bump typescript from 5.7.2 to 5.7.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3610">peter-evans/create-pull-request#3610</a></li>
<li>build(deps): bump octokit dependencies by <a
href="https://github.com/peter-evans"><code>@​peter-evans</code></a> in
<a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3618">peter-evans/create-pull-request#3618</a></li>
<li>docs: add workflow tip for showing message via workflow command by
<a href="https://github.com/ybiquitous"><code>@​ybiquitous</code></a> in
<a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3626">peter-evans/create-pull-request#3626</a></li>
<li>build(deps-dev): bump eslint-plugin-prettier from 5.2.1 to 5.2.3 by
<a href="https://github.com/dependabot"><code>@​dependabot</code></a> in
<a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3628">peter-evans/create-pull-request#3628</a></li>
<li>build(deps): bump node-fetch-native from 1.6.4 to 1.6.6 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3627">peter-evans/create-pull-request#3627</a></li>
<li>build(deps-dev): bump undici from 6.21.0 to 6.21.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3630">peter-evans/create-pull-request#3630</a></li>
<li>build(deps-dev): bump <code>@​types/node</code> from 18.19.70 to
18.19.71 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3629">peter-evans/create-pull-request#3629</a></li>
<li>Update distribution by <a
href="https://github.com/actions-bot"><code>@​actions-bot</code></a> in
<a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3647">peter-evans/create-pull-request#3647</a></li>
<li>build(deps-dev): bump <code>@​types/node</code> from 18.19.71 to
18.19.74 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3657">peter-evans/create-pull-request#3657</a></li>
<li>build(deps-dev): bump <code>@​types/node</code> from 18.19.74 to
18.19.75 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3663">peter-evans/create-pull-request#3663</a></li>
<li>build(deps): bump
<code>@​octokit/plugin-rest-endpoint-methods</code> from 13.3.0 to
13.3.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3670">peter-evans/create-pull-request#3670</a></li>
<li>build(deps-dev): bump prettier from 3.4.2 to 3.5.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3671">peter-evans/create-pull-request#3671</a></li>
<li>Update distribution by <a
href="https://github.com/actions-bot"><code>@​actions-bot</code></a> in
<a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3680">peter-evans/create-pull-request#3680</a></li>
<li>build(deps): bump <code>@​octokit/request-error</code> from 6.1.6 to
6.1.7 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3685">peter-evans/create-pull-request#3685</a></li>
<li>build(deps): bump <code>@​octokit/plugin-paginate-rest</code> from
11.4.0 to 11.4.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3688">peter-evans/create-pull-request#3688</a></li>
<li>build(deps): bump <code>@​octokit/endpoint</code> from 10.1.2 to
10.1.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3700">peter-evans/create-pull-request#3700</a></li>
<li>Update distribution by <a
href="https://github.com/actions-bot"><code>@​actions-bot</code></a> in
<a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3691">peter-evans/create-pull-request#3691</a></li>
<li>build(deps-dev): bump prettier from 3.5.0 to 3.5.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3709">peter-evans/create-pull-request#3709</a></li>
<li>build(deps-dev): bump eslint-import-resolver-typescript from 3.7.0
to 3.8.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3710">peter-evans/create-pull-request#3710</a></li>
<li>build(deps): bump <code>@​octokit/plugin-paginate-rest</code> from
11.4.1 to 11.4.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3713">peter-evans/create-pull-request#3713</a></li>
<li>build(deps-dev): bump <code>@​types/node</code> from 18.19.75 to
18.19.76 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3712">peter-evans/create-pull-request#3712</a></li>
<li>build(deps): bump <code>@​octokit/core</code> from 6.1.3 to 6.1.4 by
<a href="https://github.com/dependabot"><code>@​dependabot</code></a> in
<a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3711">peter-evans/create-pull-request#3711</a></li>
<li>Update distribution by <a
href="https://github.com/actions-bot"><code>@​actions-bot</code></a> in
<a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3736">peter-evans/create-pull-request#3736</a></li>
<li>Use showFileAtRefBase64 to read per-commit file contents by <a
href="https://github.com/grahamc"><code>@​grahamc</code></a> in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3744">peter-evans/create-pull-request#3744</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/ybiquitous"><code>@​ybiquitous</code></a> made
their first contribution in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3626">peter-evans/create-pull-request#3626</a></li>
<li><a href="https://github.com/grahamc"><code>@​grahamc</code></a> made
their first contribution in <a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/3744">peter-evans/create-pull-request#3744</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/peter-evans/create-pull-request/compare/v7.0.6...v7.0.7">https://github.com/peter-evans/create-pull-request/compare/v7.0.6...v7.0.7</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/dd2324fc52d5d43c699a5636bcf19fceaa70c284"><code>dd2324f</code></a>
fix: use showFileAtRefBase64 to read per-commit file contents (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/3744">#3744</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/367180cbdfa0448fc1ca9136e4adb020658cf4e5"><code>367180c</code></a>
ci: remove testv5 cmd</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/25575a12f382fb9c68692ffce1174138b61417d7"><code>25575a1</code></a>
build: update distribution (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/3736">#3736</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/a56e7a56e9186132269996d8937494f12ff51f77"><code>a56e7a5</code></a>
build(deps): bump <code>@​octokit/core</code> from 6.1.3 to 6.1.4 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/3711">#3711</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/eac17dc6a391b3ae789deacc22d4d36f5e62ef6b"><code>eac17dc</code></a>
build(deps-dev): bump <code>@​types/node</code> from 18.19.75 to
18.19.76 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/3712">#3712</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/a2e685f8147c673583a881447134a26d6fa3d0f7"><code>a2e685f</code></a>
build(deps): bump <code>@​octokit/plugin-paginate-rest</code> from
11.4.1 to 11.4.2 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/3713">#3713</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/6cfd146ec94d1142c1ea0bd8b540622c50f3a34b"><code>6cfd146</code></a>
build(deps-dev): bump eslint-import-resolver-typescript (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/3710">#3710</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/b38e8d38a18a291242f9072a0d9843d4c0ed6792"><code>b38e8d3</code></a>
build(deps-dev): bump prettier from 3.5.0 to 3.5.1 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/3709">#3709</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/8a41570d993b6f7de42d9533f6b785fc151c96e6"><code>8a41570</code></a>
build: update distribution (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/3691">#3691</a>)</li>
<li><a
href="https://github.com/peter-evans/create-pull-request/commit/2e9b4cc10ed4becca3a04f63d54db8baf010d424"><code>2e9b4cc</code></a>
build(deps): bump <code>@​octokit/endpoint</code> from 10.1.2 to 10.1.3
(<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/3700">#3700</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/peter-evans/create-pull-request/compare/67ccf781d68cd99b580ae25a5c18a1cc84ffff1f...dd2324fc52d5d43c699a5636bcf19fceaa70c284">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=peter-evans/create-pull-request&package-manager=github_actions&previous-version=7.0.6&new-version=7.0.7)](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`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-25 07:58:31 +01:00
19e5e84cff chore: update known checksums for 0.9.7 (#86)
chore: update known checksums for 0.9.7

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-02-21 07:59:44 +01:00
Kevin StillhammerandGitHub 39f75e526a Bump dependencies (#85) 2025-02-18 11:48:48 +01:00
e0aedf576b chore: update known checksums for 0.9.6 (#80)
chore: update known checksums for 0.9.6

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-02-11 09:09:40 +01:00
160796f1a1 chore: update known checksums for 0.9.5 (#77)
chore: update known checksums for 0.9.5

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-02-07 08:11:31 +01:00
Kevin StillhammerandGitHub a7b1296fb5 Refactor internal function names (#76) 2025-02-06 17:51:03 +01:00
Kevin StillhammerandGitHub 097d5252c8 Run npm install as part of npm run all (#75) 2025-02-06 17:46:44 +01:00
Kevin StillhammerandGitHub 5f8cbe30d7 Make it clearer how to fix lint errors (#74) 2025-02-06 17:42:12 +01:00
Dave JohansenandGitHub d8f577dec4 Support requirements.txt for version-file (#68) 2025-02-06 17:41:44 +01:00
Kevin StillhammerandGitHub f173943ec8 Run update-known-checksums every night (#73) 2025-02-06 08:43:41 +01:00
Kevin StillhammerandGitHub d34edb0565 Fix version-file input (#72)
The input was previously ignored

Fixes: #69
2025-02-06 08:40:41 +01:00
26 changed files with 3692 additions and 769 deletions
@@ -0,0 +1,35 @@
import * as fs from "node:fs";
import * as yaml from "js-yaml";
interface WorkflowJob {
needs?: string[];
[key: string]: unknown;
}
interface Workflow {
jobs: Record<string, WorkflowJob>;
[key: string]: unknown;
}
const workflow = yaml.load(
fs.readFileSync("../workflows/test.yml", "utf8"),
) as Workflow;
const jobs = Object.keys(workflow.jobs);
const allTestsPassed = workflow.jobs["all-tests-passed"];
const needs: string[] = allTestsPassed.needs || [];
const expectedNeeds = jobs.filter((j) => j !== "all-tests-passed");
const missing = expectedNeeds.filter((j) => !needs.includes(j));
if (missing.length > 0) {
console.error(
`Missing jobs in all-tests-passed needs: ${missing.join(", ")}`,
);
console.info(
"Please add the missing jobs to the needs section of all-tests-passed in test.yml.",
);
process.exit(1);
}
console.log(
"All jobs in test.yml are in the needs section of all-tests-passed.",
);
-49
View File
@@ -1,49 +0,0 @@
# `dist/index.js` is a special file in Actions.
# When you reference an action with `uses:` in a workflow,
# `index.js` is the code that will run.
# For our project, we generate this file through a build process from other source files.
# We need to make sure the checked-in `index.js` actually matches what we expect it to be.
name: Check dist/
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
check-dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Rebuild the dist/ directory
run: |
npm run build
npm run package
- name: Compare the expected and actual dist/ directories
run: |
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes after build. See status below:"
git diff --text -v
exit 1
fi
id: diff
# If index.js was different than expected, upload the expected version as an artifact
- uses: actions/upload-artifact@v4
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
with:
name: dist
path: dist/
+1
View File
@@ -12,6 +12,7 @@
name: "CodeQL" name: "CodeQL"
on: on:
workflow_dispatch:
push: push:
branches: [main] branches: [main]
pull_request: pull_request:
+4 -1
View File
@@ -3,15 +3,18 @@ name: Release Drafter
# yamllint disable-line rule:truthy # yamllint disable-line rule:truthy
on: on:
workflow_dispatch:
push: push:
branches: branches:
- main - main
workflow_dispatch:
jobs: jobs:
update_release_draft: update_release_draft:
name: ✏️ Draft release name: ✏️ Draft release
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: read
steps: steps:
- name: 🚀 Run Release Drafter - name: 🚀 Run Release Drafter
uses: release-drafter/release-drafter@v6.1.0 uses: release-drafter/release-drafter@v6.1.0
+145 -12
View File
@@ -1,7 +1,7 @@
name: "test" name: "test"
on: on:
pull_request:
workflow_dispatch: workflow_dispatch:
pull_request:
push: push:
branches: branches:
- main - main
@@ -24,9 +24,14 @@ jobs:
npm install npm install
- run: | - run: |
npm run all npm run all
- name: Check all jobs are in all-tests-passed.needs
run: |
tsc check-all-tests-passed-needs.ts
node check-all-tests-passed-needs.js
working-directory: .github/scripts
- name: Make sure no changes from linters are detected - name: Make sure no changes from linters are detected
run: | run: |
git diff --exit-code git diff --exit-code || (echo "::error::Please run 'npm run all' to fix the issues" && exit 1)
test-latest-version: test-latest-version:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
@@ -40,10 +45,11 @@ jobs:
src: __tests__/fixtures/python-project src: __tests__/fixtures/python-project
version: latest version: latest
test-specific-version: test-specific-version:
runs-on: ubuntu-latest runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
ruff-version: ["0.7.4", "0.7", "0.7.x", ">=0.7.0"] ruff-version: ["0.1.7", "0.1.8", "0.4.7", "0.4.10", "0.7", "0.7.x", ">=0.7.0"]
os: [ ubuntu-latest, ubuntu-24.04-arm, macos-latest, macos-14, windows-latest ]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Use version ${{ matrix.ruff-version }} - name: Use version ${{ matrix.ruff-version }}
@@ -51,6 +57,39 @@ jobs:
with: with:
version: ${{ matrix.ruff-version }} version: ${{ matrix.ruff-version }}
src: __tests__/fixtures/python-project src: __tests__/fixtures/python-project
test-unsupported-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Try install old version
id: install
continue-on-error: true
uses: ./
with:
version: 0.0.246
src: __tests__/fixtures/python-project
- name: Check if the action failed
run: |
if [ ${{ steps.install.outcome }} == "success" ]; then
exit 1
fi
test-version-from-version-file-pyproject:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use version from pyproject.toml
id: ruff-action
uses: ./
with:
src: __tests__/fixtures/python-project
version-file: __tests__/fixtures/pyproject.toml
- name: Correct version gets installed
run: |
if [ "$RUFF_VERSION" != "0.9.3" ]; then
exit 1
fi
env:
RUFF_VERSION: ${{ steps.ruff-action.outputs.ruff-version }}
test-default-version-from-pyproject: test-default-version-from-pyproject:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -101,6 +140,40 @@ jobs:
fi fi
env: env:
RUFF_VERSION: ${{ steps.ruff-action.outputs.ruff-version }} RUFF_VERSION: ${{ steps.ruff-action.outputs.ruff-version }}
test-default-version-from-pyproject-poetry-groups:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use default version from pyproject.toml poetry group dependencies
id: ruff-action
uses: ./
with:
src: __tests__/fixtures/pyproject-dependency-poetry-grouped-project
version-file: __tests__/fixtures/pyproject-dependency-poetry-grouped-project/pyproject.toml
- name: Correct version gets installed
run: |
if [ "$RUFF_VERSION" != "0.8.3" ]; then
exit 1
fi
env:
RUFF_VERSION: ${{ steps.ruff-action.outputs.ruff-version }}
test-default-version-from-pyproject-poetry:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use default version from pyproject.toml poetry dependencies
id: ruff-action
uses: ./
with:
src: __tests__/fixtures/pyproject-dependency-poetry-project
version-file: __tests__/fixtures/pyproject-dependency-poetry-project/pyproject.toml
- name: Correct version gets installed
run: |
if [ "$RUFF_VERSION" != "0.8.6" ]; then
exit 1
fi
env:
RUFF_VERSION: ${{ steps.ruff-action.outputs.ruff-version }}
test-default-version-from-pyproject-optional-dependencies: test-default-version-from-pyproject-optional-dependencies:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -118,6 +191,23 @@ jobs:
fi fi
env: env:
RUFF_VERSION: ${{ steps.ruff-action.outputs.ruff-version }} RUFF_VERSION: ${{ steps.ruff-action.outputs.ruff-version }}
test-default-version-from-requirements:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use default version from requirements.txt
id: ruff-action
uses: ./
with:
src: __tests__/fixtures/python-project
version-file: __tests__/fixtures/requirements.txt
- name: Correct version gets installed
run: |
if [ "$RUFF_VERSION" != "0.9.0" ]; then
exit 1
fi
env:
RUFF_VERSION: ${{ steps.ruff-action.outputs.ruff-version }}
test-semver-range: test-semver-range:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -135,17 +225,30 @@ jobs:
fi fi
env: env:
RUFF_VERSION: ${{ steps.ruff-action.outputs.ruff-version }} RUFF_VERSION: ${{ steps.ruff-action.outputs.ruff-version }}
test-pep440-version-specifier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install version 0.9.10
id: ruff-action
uses: ./
with:
version: ">=0.9.9,<0.10.0"
src: __tests__/fixtures/python-project
- name: Correct version gets installed
run: |
if [ "$RUFF_VERSION" != "0.9.10" ]; then
exit 1
fi
env:
RUFF_VERSION: ${{ steps.ruff-action.outputs.ruff-version }}
test-checksum: test-checksum:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.inputs.os }}
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, macos-latest] inputs:
checksum: - os: ubuntu-latest
["0de731c669b9ece77e799ac3f4a160c30849752714d9775c94cc4cfaf326860c"]
exclude:
- os: macos-latest
checksum: "0de731c669b9ece77e799ac3f4a160c30849752714d9775c94cc4cfaf326860c" checksum: "0de731c669b9ece77e799ac3f4a160c30849752714d9775c94cc4cfaf326860c"
include:
- os: macos-latest - os: macos-latest
checksum: "af9583bff12afbca5d5670334e0187dd60c4d91bc71317d1b2dde70cb1200ba9" checksum: "af9583bff12afbca5d5670334e0187dd60c4d91bc71317d1b2dde70cb1200ba9"
steps: steps:
@@ -154,7 +257,7 @@ jobs:
uses: ./ uses: ./
with: with:
version: "0.7.4" version: "0.7.4"
checksum: ${{ matrix.checksum }} checksum: ${{ matrix.inputs.checksum }}
src: __tests__/fixtures/python-project src: __tests__/fixtures/python-project
test-with-explicit-token: test-with-explicit-token:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -218,3 +321,33 @@ jobs:
src: >- src: >-
__tests__/fixtures/python-project/src/python_project/__init__.py __tests__/fixtures/python-project/src/python_project/__init__.py
__tests__/fixtures/python-project/src/python_project/hello_world.py __tests__/fixtures/python-project/src/python_project/hello_world.py
all-tests-passed:
runs-on: ubuntu-latest
needs:
- lint
- test-latest-version
- test-specific-version
- test-unsupported-version
- test-version-from-version-file-pyproject
- test-default-version-from-pyproject
- test-default-version-from-pyproject-dev-group
- test-default-version-from-pyproject-dependency-groups
- test-default-version-from-pyproject-poetry-groups
- test-default-version-from-pyproject-poetry
- test-default-version-from-pyproject-optional-dependencies
- test-default-version-from-requirements
- test-semver-range
- test-pep440-version-specifier
- test-checksum
- test-with-explicit-token
- test-args
- test-failure
- test-multiple-src
if: always()
steps:
- name: All tests passed
run: |
echo "All jobs passed: ${{ !contains(needs.*.result, 'failure') }}"
# shellcheck disable=SC2242
exit ${{ contains(needs.*.result, 'failure') && 1 || 0 }}
+6 -1
View File
@@ -1,10 +1,15 @@
name: "Update known checksums" name: "Update known checksums"
on: on:
workflow_dispatch: workflow_dispatch:
schedule:
- cron: "0 4 * * *" # Run every day at 4am UTC
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
@@ -17,7 +22,7 @@ jobs:
src/download/checksum/known-checksums.ts ${{ secrets.GITHUB_TOKEN }} src/download/checksum/known-checksums.ts ${{ secrets.GITHUB_TOKEN }}
- run: npm install && npm run all - run: npm install && npm run all
- name: Create Pull Request - name: Create Pull Request
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6 uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
with: with:
commit-message: "chore: update known checksums" commit-message: "chore: update known checksums"
title: title:
+31 -2
View File
@@ -13,7 +13,36 @@ jobs:
update_major_minor_tags: update_major_minor_tags:
name: Make sure major and minor tags are up to date on a patch release name: Make sure major and minor tags are up to date on a patch release
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
contents: write
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Run Update semver - name: Update Major Minor Tags
uses: haya14busa/action-update-semver@v1.2.1 run: |
set -x
cd "${GITHUB_WORKSPACE}" || exit
# Set up variables.
TAG="${GITHUB_REF#refs/tags/}" # v1.2.3
MINOR="${TAG%.*}" # v1.2
MAJOR="${MINOR%.*}" # v1
if [ "${GITHUB_REF}" = "${TAG}" ]; then
echo "This workflow is not triggered by tag push: GITHUB_REF=${GITHUB_REF}"
exit 1
fi
MESSAGE="Release ${TAG}"
# Set up Git.
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
# Update MAJOR/MINOR tag
git tag -fa "${MAJOR}" -m "${MESSAGE}"
git tag -fa "${MINOR}" -m "${MESSAGE}"
# Push
git push --force origin "${MINOR}"
git push --force origin "${MAJOR}"
+29 -7
View File
@@ -4,8 +4,8 @@ A GitHub Action to run [ruff](https://github.com/astral-sh/ruff).
This action is commonly used as a pass/fail test to ensure your repository stays This action is commonly used as a pass/fail test to ensure your repository stays
clean, abiding the [rules](https://docs.astral.sh/ruff/rules/) specified in your clean, abiding the [rules](https://docs.astral.sh/ruff/rules/) specified in your
configuration. Though it runs `ruff`, the action can do anything `ruff` can (ex, configuration. Though it runs `ruff check` by default, the action can do
fix). anything `ruff` can (ex, fix).
## Contents ## Contents
@@ -18,7 +18,7 @@ fix).
- [Install specific versions](#install-specific-versions) - [Install specific versions](#install-specific-versions)
- [Install the latest version](#install-the-latest-version) - [Install the latest version](#install-the-latest-version)
- [Install a specific version](#install-a-specific-version) - [Install a specific version](#install-a-specific-version)
- [Install a version by supplying a semver range](#install-a-version-by-supplying-a-semver-range) - [Install a version by supplying a semver range or pep440 specifier](#install-a-version-by-supplying-a-semver-range-or-pep440-specifier)
- [Install a version from a specified version file](#install-a-version-from-a-specified-version-file) - [Install a version from a specified version file](#install-a-version-from-a-specified-version-file)
- [Validate checksum](#validate-checksum) - [Validate checksum](#validate-checksum)
- [GitHub authentication token](#github-authentication-token) - [GitHub authentication token](#github-authentication-token)
@@ -69,12 +69,23 @@ This action adds ruff to the PATH, so you can use it in subsequent steps.
- run: ruff format - run: ruff format
``` ```
By default, this action runs `ruff check` after installation.
If you do not want to run any `ruff` command but only install it,
you can use the `args` input to overwrite the default value (`check`):
```yaml
- name: Install ruff without running check or format
uses: astral-sh/ruff-action@v3
with:
args: "--version"
```
### Use `ruff format` ### Use `ruff format`
```yaml ```yaml
- uses: astral-sh/ruff-action@v3 - uses: astral-sh/ruff-action@v3
with: with:
args: "format --check" args: "format --check --diff"
``` ```
### Install specific versions ### Install specific versions
@@ -84,6 +95,9 @@ the ruff version to install. If no pyproject.toml file is found, or no ruff vers
`project.dependencies`, `project.optional-dependencies`, or `dependency-groups`, `project.dependencies`, `project.optional-dependencies`, or `dependency-groups`,
the latest version is installed. the latest version is installed.
> [!NOTE]
> This action does only support ruff versions v0.0.247 and above.
#### Install the latest version #### Install the latest version
```yaml ```yaml
@@ -102,9 +116,10 @@ the latest version is installed.
version: "0.4.4" version: "0.4.4"
``` ```
#### Install a version by supplying a semver range #### Install a version by supplying a semver range or pep440 specifier
You can specify a [semver range](https://github.com/npm/node-semver?tab=readme-ov-file#ranges) You can specify a [semver range](https://github.com/npm/node-semver?tab=readme-ov-file#ranges)
or [pep440 specifier](https://peps.python.org/pep-0440/#version-specifiers)
to install the latest version that satisfies the range. to install the latest version that satisfies the range.
```yaml ```yaml
@@ -121,16 +136,23 @@ to install the latest version that satisfies the range.
version: "0.4.x" version: "0.4.x"
``` ```
```yaml
- name: Install a pep440-specifier-satisfying version of ruff
uses: astral-sh/ruff-action@v3
with:
version: ">=0.11.10,<0.12.0"
```
#### Install a version from a specified version file #### Install a version from a specified version file
You can specify a file to read the version from. You can specify a file to read the version from.
Currently `pyproject.toml` is supported. Currently `pyproject.toml` and `requirements.txt` are supported.
```yaml ```yaml
- name: Install a version from a specified version file - name: Install a version from a specified version file
uses: astral-sh/ruff-action@v3 uses: astral-sh/ruff-action@v3
with: with:
version-file: "my-path/to/pyproject.toml" version-file: "my-path/to/pyproject.toml-or-requirements.txt"
``` ```
### Validate checksum ### Validate checksum
@@ -0,0 +1,14 @@
[project]
name = "pyproject-dependency-poetry-grouped-project"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
[tool.poetry.group.dev.dependencies]
sphinx = "*"
ruff = "0.8.3"
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
@@ -0,0 +1,2 @@
def hello() -> str:
return "Hello from python-project!"
@@ -0,0 +1,14 @@
[project]
name = "pyproject-dependency-poetry-project"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
[tool.poetry.dependencies]
sphinx = "*"
ruff = "~0.8.2"
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
@@ -0,0 +1,2 @@
def hello() -> str:
return "Hello from python-project!"
+13
View File
@@ -0,0 +1,13 @@
[project]
name = "pyython-project"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"ruff==0.9.3",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
+1
View File
@@ -0,0 +1 @@
ruff==0.9.0
Generated Vendored
+1565 -308
View File
File diff suppressed because it is too large Load Diff
+627 -214
View File
File diff suppressed because it is too large Load Diff
+134 -108
View File
@@ -11,19 +11,21 @@
"dependencies": { "dependencies": {
"@actions/core": "^1.11.1", "@actions/core": "^1.11.1",
"@actions/exec": "^1.1.1", "@actions/exec": "^1.1.1",
"@actions/tool-cache": "^2.0.1", "@actions/tool-cache": "^2.0.2",
"@octokit/core": "^6.1.3", "@octokit/core": "^7.0.3",
"@octokit/plugin-paginate-rest": "^11.4.0", "@octokit/plugin-paginate-rest": "^13.0.1",
"@octokit/plugin-rest-endpoint-methods": "^13.3.0", "@octokit/plugin-rest-endpoint-methods": "^16.0.0",
"smol-toml": "^1.3.1" "@renovatebot/pep440": "^4.1.0",
"smol-toml": "^1.4.1"
}, },
"devDependencies": { "devDependencies": {
"@biomejs/biome": "1.9.4", "@biomejs/biome": "1.9.4",
"@types/node": "^22.12.0", "@types/js-yaml": "^4.0.9",
"@types/semver": "^7.5.8", "@types/node": "^24.0.13",
"@types/semver": "^7.7.0",
"@vercel/ncc": "^0.38.3", "@vercel/ncc": "^0.38.3",
"js-yaml": "^4.1.0", "js-yaml": "^4.1.0",
"typescript": "^5.7.3" "typescript": "^5.8.3"
} }
}, },
"node_modules/@actions/core": { "node_modules/@actions/core": {
@@ -58,16 +60,15 @@
"integrity": "sha512-wi9JjgKLYS7U/z8PPbco+PvTb/nRWjeoFlJ1Qer83k/3C5PHQi28hiVdeE2kHXmIL99mQFawx8qt/JPjZilJ8Q==" "integrity": "sha512-wi9JjgKLYS7U/z8PPbco+PvTb/nRWjeoFlJ1Qer83k/3C5PHQi28hiVdeE2kHXmIL99mQFawx8qt/JPjZilJ8Q=="
}, },
"node_modules/@actions/tool-cache": { "node_modules/@actions/tool-cache": {
"version": "2.0.1", "version": "2.0.2",
"resolved": "https://registry.npmjs.org/@actions/tool-cache/-/tool-cache-2.0.1.tgz", "resolved": "https://registry.npmjs.org/@actions/tool-cache/-/tool-cache-2.0.2.tgz",
"integrity": "sha512-iPU+mNwrbA8jodY8eyo/0S/QqCKDajiR8OxWTnSk/SnYg0sj8Hp4QcUEVC1YFpHWXtrfbQrE13Jz4k4HXJQKcA==", "integrity": "sha512-fBhNNOWxuoLxztQebpOaWu6WeVmuwa77Z+DxIZ1B+OYvGkGQon6kTVg6Z32Cb13WCuw0szqonK+hh03mJV7Z6w==",
"dependencies": { "dependencies": {
"@actions/core": "^1.2.6", "@actions/core": "^1.11.1",
"@actions/exec": "^1.0.0", "@actions/exec": "^1.0.0",
"@actions/http-client": "^2.0.1", "@actions/http-client": "^2.0.1",
"@actions/io": "^1.1.1", "@actions/io": "^1.1.1",
"semver": "^6.1.0", "semver": "^6.1.0"
"uuid": "^3.3.2"
} }
}, },
"node_modules/@biomejs/biome": { "node_modules/@biomejs/biome": {
@@ -234,137 +235,165 @@
} }
}, },
"node_modules/@octokit/auth-token": { "node_modules/@octokit/auth-token": {
"version": "5.1.2", "version": "6.0.0",
"resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-5.1.2.tgz", "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-6.0.0.tgz",
"integrity": "sha512-JcQDsBdg49Yky2w2ld20IHAlwr8d/d8N6NiOXbtuoPCqzbsiJgF633mVUw3x4mo0H5ypataQIX7SFu3yy44Mpw==", "integrity": "sha512-P4YJBPdPSpWTQ1NU4XYdvHvXJJDxM6YwpS0FZHRgP7YFkdVxsWcpWGy/NVqlAA7PcPCnMacXlRm1y2PFZRWL/w==",
"license": "MIT",
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@octokit/core": { "node_modules/@octokit/core": {
"version": "6.1.3", "version": "7.0.3",
"resolved": "https://registry.npmjs.org/@octokit/core/-/core-6.1.3.tgz", "resolved": "https://registry.npmjs.org/@octokit/core/-/core-7.0.3.tgz",
"integrity": "sha512-z+j7DixNnfpdToYsOutStDgeRzJSMnbj8T1C/oQjB6Aa+kRfNjs/Fn7W6c8bmlt6mfy3FkgeKBRnDjxQow5dow==", "integrity": "sha512-oNXsh2ywth5aowwIa7RKtawnkdH6LgU1ztfP9AIUCQCvzysB+WeU8o2kyyosDPwBZutPpjZDKPQGIzzrfTWweQ==",
"license": "MIT",
"dependencies": { "dependencies": {
"@octokit/auth-token": "^5.0.0", "@octokit/auth-token": "^6.0.0",
"@octokit/graphql": "^8.1.2", "@octokit/graphql": "^9.0.1",
"@octokit/request": "^9.1.4", "@octokit/request": "^10.0.2",
"@octokit/request-error": "^6.1.6", "@octokit/request-error": "^7.0.0",
"@octokit/types": "^13.6.2", "@octokit/types": "^14.0.0",
"before-after-hook": "^3.0.2", "before-after-hook": "^4.0.0",
"universal-user-agent": "^7.0.0" "universal-user-agent": "^7.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@octokit/endpoint": { "node_modules/@octokit/endpoint": {
"version": "10.1.2", "version": "11.0.0",
"resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-10.1.2.tgz", "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-11.0.0.tgz",
"integrity": "sha512-XybpFv9Ms4hX5OCHMZqyODYqGTZ3H6K6Vva+M9LR7ib/xr1y1ZnlChYv9H680y77Vd/i/k+thXApeRASBQkzhA==", "integrity": "sha512-hoYicJZaqISMAI3JfaDr1qMNi48OctWuOih1m80bkYow/ayPw6Jj52tqWJ6GEoFTk1gBqfanSoI1iY99Z5+ekQ==",
"license": "MIT",
"dependencies": { "dependencies": {
"@octokit/types": "^13.6.2", "@octokit/types": "^14.0.0",
"universal-user-agent": "^7.0.2" "universal-user-agent": "^7.0.2"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@octokit/graphql": { "node_modules/@octokit/graphql": {
"version": "8.1.2", "version": "9.0.1",
"resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-8.1.2.tgz", "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-9.0.1.tgz",
"integrity": "sha512-bdlj/CJVjpaz06NBpfHhp4kGJaRZfz7AzC+6EwUImRtrwIw8dIgJ63Xg0OzV9pRn3rIzrt5c2sa++BL0JJ8GLw==", "integrity": "sha512-j1nQNU1ZxNFx2ZtKmL4sMrs4egy5h65OMDmSbVyuCzjOcwsHq6EaYjOTGXPQxgfiN8dJ4CriYHk6zF050WEULg==",
"license": "MIT",
"dependencies": { "dependencies": {
"@octokit/request": "^9.1.4", "@octokit/request": "^10.0.2",
"@octokit/types": "^13.6.2", "@octokit/types": "^14.0.0",
"universal-user-agent": "^7.0.0" "universal-user-agent": "^7.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@octokit/openapi-types": { "node_modules/@octokit/openapi-types": {
"version": "23.0.1", "version": "25.1.0",
"resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-23.0.1.tgz", "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.1.0.tgz",
"integrity": "sha512-izFjMJ1sir0jn0ldEKhZ7xegCTj/ObmEDlEfpFrx4k/JyZSMRHbO3/rBwgE7f3m2DHt+RrNGIVw4wSmwnm3t/g==" "integrity": "sha512-idsIggNXUKkk0+BExUn1dQ92sfysJrje03Q0bv0e+KPLrvyqZF8MnBpFz8UNfYDwB3Ie7Z0TByjWfzxt7vseaA==",
"license": "MIT"
}, },
"node_modules/@octokit/plugin-paginate-rest": { "node_modules/@octokit/plugin-paginate-rest": {
"version": "11.4.0", "version": "13.0.1",
"resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-11.4.0.tgz", "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-13.0.1.tgz",
"integrity": "sha512-ttpGck5AYWkwMkMazNCZMqxKqIq1fJBNxBfsFwwfyYKTf914jKkLF0POMS3YkPBwp5g1c2Y4L79gDz01GhSr1g==", "integrity": "sha512-m1KvHlueScy4mQJWvFDCxFBTIdXS0K1SgFGLmqHyX90mZdCIv6gWBbKRhatxRjhGlONuTK/hztYdaqrTXcFZdQ==",
"license": "MIT",
"dependencies": { "dependencies": {
"@octokit/types": "^13.7.0" "@octokit/types": "^14.1.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
}, },
"peerDependencies": { "peerDependencies": {
"@octokit/core": ">=6" "@octokit/core": ">=6"
} }
}, },
"node_modules/@octokit/plugin-rest-endpoint-methods": { "node_modules/@octokit/plugin-rest-endpoint-methods": {
"version": "13.3.0", "version": "16.0.0",
"resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-13.3.0.tgz", "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-16.0.0.tgz",
"integrity": "sha512-LUm44shlmkp/6VC+qQgHl3W5vzUP99ZM54zH6BuqkJK4DqfFLhegANd+fM4YRLapTvPm4049iG7F3haANKMYvQ==", "integrity": "sha512-kJVUQk6/dx/gRNLWUnAWKFs1kVPn5O5CYZyssyEoNYaFedqZxsfYs7DwI3d67hGz4qOwaJ1dpm07hOAD1BXx6g==",
"license": "MIT",
"dependencies": { "dependencies": {
"@octokit/types": "^13.7.0" "@octokit/types": "^14.1.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
}, },
"peerDependencies": { "peerDependencies": {
"@octokit/core": ">=6" "@octokit/core": ">=6"
} }
}, },
"node_modules/@octokit/request": { "node_modules/@octokit/request": {
"version": "9.2.0", "version": "10.0.3",
"resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.2.0.tgz", "resolved": "https://registry.npmjs.org/@octokit/request/-/request-10.0.3.tgz",
"integrity": "sha512-kXLfcxhC4ozCnAXy2ff+cSxpcF0A1UqxjvYMqNuPIeOAzJbVWQ+dy5G2fTylofB/gTbObT8O6JORab+5XtA1Kw==", "integrity": "sha512-V6jhKokg35vk098iBqp2FBKunk3kMTXlmq+PtbV9Gl3TfskWlebSofU9uunVKhUN7xl+0+i5vt0TGTG8/p/7HA==",
"license": "MIT",
"dependencies": { "dependencies": {
"@octokit/endpoint": "^10.0.0", "@octokit/endpoint": "^11.0.0",
"@octokit/request-error": "^6.0.1", "@octokit/request-error": "^7.0.0",
"@octokit/types": "^13.6.2", "@octokit/types": "^14.0.0",
"fast-content-type-parse": "^2.0.0", "fast-content-type-parse": "^3.0.0",
"universal-user-agent": "^7.0.2" "universal-user-agent": "^7.0.2"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@octokit/request-error": { "node_modules/@octokit/request-error": {
"version": "6.1.6", "version": "7.0.0",
"resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.6.tgz", "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-7.0.0.tgz",
"integrity": "sha512-pqnVKYo/at0NuOjinrgcQYpEbv4snvP3bKMRqHaD9kIsk9u1LCpb2smHZi8/qJfgeNqLo5hNW4Z7FezNdEo0xg==", "integrity": "sha512-KRA7VTGdVyJlh0cP5Tf94hTiYVVqmt2f3I6mnimmaVz4UG3gQV/k4mDJlJv3X67iX6rmN7gSHCF8ssqeMnmhZg==",
"license": "MIT",
"dependencies": { "dependencies": {
"@octokit/types": "^13.6.2" "@octokit/types": "^14.0.0"
}, },
"engines": { "engines": {
"node": ">= 18" "node": ">= 20"
} }
}, },
"node_modules/@octokit/types": { "node_modules/@octokit/types": {
"version": "13.7.0", "version": "14.1.0",
"resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.7.0.tgz", "resolved": "https://registry.npmjs.org/@octokit/types/-/types-14.1.0.tgz",
"integrity": "sha512-BXfRP+3P3IN6fd4uF3SniaHKOO4UXWBfkdR3vA8mIvaoO/wLjGN5qivUtW0QRitBHHMcfC41SLhNVYIZZE+wkA==", "integrity": "sha512-1y6DgTy8Jomcpu33N+p5w58l6xyt55Ar2I91RPiIA0xCJBXyUAhXCcmZaDWSANiha7R9a6qJJ2CRomGPZ6f46g==",
"license": "MIT",
"dependencies": { "dependencies": {
"@octokit/openapi-types": "^23.0.1" "@octokit/openapi-types": "^25.1.0"
} }
}, },
"node_modules/@renovatebot/pep440": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/@renovatebot/pep440/-/pep440-4.1.0.tgz",
"integrity": "sha512-mo2RxnOSp78Njt1HmgMwjl6FapP4OyIS8HypJlymCvN7AIV2Xf5PmZfl/E3O1WWZ6IjKrfsEAaPWFMi8tnkq3g==",
"license": "Apache-2.0",
"engines": {
"node": "^20.9.0 || ^22.11.0",
"pnpm": "^9.0.0"
}
},
"node_modules/@types/js-yaml": {
"version": "4.0.9",
"resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.9.tgz",
"integrity": "sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg==",
"dev": true,
"license": "MIT"
},
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "22.12.0", "version": "24.0.13",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.12.0.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-24.0.13.tgz",
"integrity": "sha512-Fll2FZ1riMjNmlmJOdAyY5pUbkftXslB5DgEzlIuNaiWhXd00FhWxVC/r4yV/4wBb9JfImTu+jiSvXTkJ7F/gA==", "integrity": "sha512-Qm9OYVOFHFYg3wJoTSrz80hoec5Lia/dPp84do3X7dZvLikQvM1YpmvTBEdIr/e+U8HTkFjLHLnl78K/qjf+jQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"undici-types": "~6.20.0" "undici-types": "~7.8.0"
} }
}, },
"node_modules/@types/semver": { "node_modules/@types/semver": {
"version": "7.5.8", "version": "7.7.0",
"resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.7.0.tgz",
"integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==", "integrity": "sha512-k107IF4+Xr7UHjwDc7Cfd6PRQfbdkiRabXGRjo07b4WyPahFBZCZ1sE+BNxYIJPPg73UkfOsVOLwqVc/6ETrIA==",
"dev": true "dev": true,
"license": "MIT"
}, },
"node_modules/@vercel/ncc": { "node_modules/@vercel/ncc": {
"version": "0.38.3", "version": "0.38.3",
@@ -382,14 +411,15 @@
"dev": true "dev": true
}, },
"node_modules/before-after-hook": { "node_modules/before-after-hook": {
"version": "3.0.2", "version": "4.0.0",
"resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-3.0.2.tgz", "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-4.0.0.tgz",
"integrity": "sha512-Nik3Sc0ncrMK4UUdXQmAnRtzmNQTAAXmXIopizwZ1W1t8QmfJj+zL4OA2I7XPTPW5z5TDqv4hRo/JzouDJnX3A==" "integrity": "sha512-q6tR3RPqIB1pMiTRMFcZwuG5T8vwp+vUvEG0vuI6B+Rikh5BfPp2fQ82c925FOs+b0lcFQ8CFrL+KbilfZFhOQ==",
"license": "Apache-2.0"
}, },
"node_modules/fast-content-type-parse": { "node_modules/fast-content-type-parse": {
"version": "2.0.1", "version": "3.0.0",
"resolved": "https://registry.npmjs.org/fast-content-type-parse/-/fast-content-type-parse-2.0.1.tgz", "resolved": "https://registry.npmjs.org/fast-content-type-parse/-/fast-content-type-parse-3.0.0.tgz",
"integrity": "sha512-nGqtvLrj5w0naR6tDPfB4cUmYCqouzyQiz6C5y/LtcDllJdrcc6WaWW6iXyIIOErTa/XRybj28aasdn4LkVk6Q==", "integrity": "sha512-ZvLdcY8P+N8mGQJahJV5G4U88CSvT1rP8ApL6uETe88MBXrBHAkZlSEySdUlyztF7ccb+Znos3TFqaepHxdhBg==",
"funding": [ "funding": [
{ {
"type": "github", "type": "github",
@@ -399,7 +429,8 @@
"type": "opencollective", "type": "opencollective",
"url": "https://opencollective.com/fastify" "url": "https://opencollective.com/fastify"
} }
] ],
"license": "MIT"
}, },
"node_modules/js-yaml": { "node_modules/js-yaml": {
"version": "4.1.0", "version": "4.1.0",
@@ -422,9 +453,10 @@
} }
}, },
"node_modules/smol-toml": { "node_modules/smol-toml": {
"version": "1.3.1", "version": "1.4.1",
"resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.3.1.tgz", "resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.4.1.tgz",
"integrity": "sha512-tEYNll18pPKHroYSmLLrksq233j021G0giwW7P3D24jC54pQ5W5BXMsQ/Mvw1OJCmEYDgY+lrzT+3nNUtoNfXQ==", "integrity": "sha512-CxdwHXyYTONGHThDbq5XdwbFsuY4wlClRGejfE2NtwUtiHYsP1QtNsHb/hnj31jKYSchztJsaA8pSQoVzkfCFg==",
"license": "BSD-3-Clause",
"engines": { "engines": {
"node": ">= 18" "node": ">= 18"
}, },
@@ -441,10 +473,11 @@
} }
}, },
"node_modules/typescript": { "node_modules/typescript": {
"version": "5.7.3", "version": "5.8.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz",
"integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==", "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==",
"dev": true, "dev": true,
"license": "Apache-2.0",
"bin": { "bin": {
"tsc": "bin/tsc", "tsc": "bin/tsc",
"tsserver": "bin/tsserver" "tsserver": "bin/tsserver"
@@ -454,9 +487,10 @@
} }
}, },
"node_modules/undici": { "node_modules/undici": {
"version": "5.28.5", "version": "5.29.0",
"resolved": "https://registry.npmjs.org/undici/-/undici-5.28.5.tgz", "resolved": "https://registry.npmjs.org/undici/-/undici-5.29.0.tgz",
"integrity": "sha512-zICwjrDrcrUE0pyyJc1I2QzBkLM8FINsgOrt6WjA+BgajVq9Nxu2PbFFXUrAggLfDXlZGZBVZYw7WNV5KiBiBA==", "integrity": "sha512-raqeBD6NQK4SkWhQzeYKd1KmIG6dllBOTt55Rmkt4HtI9mwdWtJljnrXjAFUBLTSN67HWrOIZ3EPF4kjUw80Bg==",
"license": "MIT",
"dependencies": { "dependencies": {
"@fastify/busboy": "^2.0.0" "@fastify/busboy": "^2.0.0"
}, },
@@ -465,25 +499,17 @@
} }
}, },
"node_modules/undici-types": { "node_modules/undici-types": {
"version": "6.20.0", "version": "7.8.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.8.0.tgz",
"integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==", "integrity": "sha512-9UJ2xGDvQ43tYyVMpuHlsgApydB8ZKfVYTsLDhXkFL/6gfkp+U8xTGdh8pMJv1SpZna0zxG1DwsKZsreLbXBxw==",
"dev": true, "dev": true,
"license": "MIT" "license": "MIT"
}, },
"node_modules/universal-user-agent": { "node_modules/universal-user-agent": {
"version": "7.0.2", "version": "7.0.3",
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz", "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.3.tgz",
"integrity": "sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==" "integrity": "sha512-TmnEAEAsBJVZM/AADELsK76llnwcf9vMKuPz8JflO1frO8Lchitr0fNaN9d+Ap0BjKtqWqd/J17qeDnXh8CL2A==",
}, "license": "ISC"
"node_modules/uuid": {
"version": "3.4.0",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==",
"deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.",
"bin": {
"uuid": "bin/uuid"
}
} }
} }
} }
+11 -9
View File
@@ -12,7 +12,7 @@
"package": "ncc build -o dist/ruff-action src/ruff-action.ts && ncc build -o dist/update-known-checksums src/update-known-checksums.ts", "package": "ncc build -o dist/ruff-action src/ruff-action.ts && ncc build -o dist/update-known-checksums src/update-known-checksums.ts",
"act": "act pull_request -W .github/workflows/test.yml --container-architecture linux/amd64 -s GITHUB_TOKEN=\"$(gh auth token)\"", "act": "act pull_request -W .github/workflows/test.yml --container-architecture linux/amd64 -s GITHUB_TOKEN=\"$(gh auth token)\"",
"update-known-checksums": "RUNNER_TEMP=known_checksums node dist/update-known-checksums/index.js src/download/checksum/known-checksums.ts \"$(gh auth token)\"", "update-known-checksums": "RUNNER_TEMP=known_checksums node dist/update-known-checksums/index.js src/download/checksum/known-checksums.ts \"$(gh auth token)\"",
"all": "npm run build && npm run format && npm run lint && npm run package" "all": "npm install && npm run build && npm run format && npm run lint && npm run package"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@@ -24,18 +24,20 @@
"dependencies": { "dependencies": {
"@actions/core": "^1.11.1", "@actions/core": "^1.11.1",
"@actions/exec": "^1.1.1", "@actions/exec": "^1.1.1",
"@actions/tool-cache": "^2.0.1", "@actions/tool-cache": "^2.0.2",
"@octokit/core": "^6.1.3", "@octokit/core": "^7.0.3",
"@octokit/plugin-paginate-rest": "^11.4.0", "@octokit/plugin-paginate-rest": "^13.0.1",
"@octokit/plugin-rest-endpoint-methods": "^13.3.0", "@octokit/plugin-rest-endpoint-methods": "^16.0.0",
"smol-toml": "^1.3.1" "@renovatebot/pep440": "^4.1.0",
"smol-toml": "^1.4.1"
}, },
"devDependencies": { "devDependencies": {
"@biomejs/biome": "1.9.4", "@biomejs/biome": "1.9.4",
"@types/node": "^22.12.0", "@types/js-yaml": "^4.0.9",
"@types/semver": "^7.5.8", "@types/node": "^24.0.13",
"@types/semver": "^7.7.0",
"@vercel/ncc": "^0.38.3", "@vercel/ncc": "^0.38.3",
"js-yaml": "^4.1.0", "js-yaml": "^4.1.0",
"typescript": "^5.7.3" "typescript": "^5.8.3"
} }
} }
+884
View File
@@ -1,5 +1,889 @@
// AUTOGENERATED_DO_NOT_EDIT // AUTOGENERATED_DO_NOT_EDIT
export const KNOWN_CHECKSUMS: { [key: string]: string } = { export const KNOWN_CHECKSUMS: { [key: string]: string } = {
"aarch64-apple-darwin-0.12.3":
"5769e4841870d1f7c17f12a7d1437222e8035eded52f93c54c035c770dbffebb",
"aarch64-pc-windows-msvc-0.12.3":
"25056f8a5ca19f87e4d8e13b744077ad47e122dbef454a6ecf572d9d92d5dbf1",
"aarch64-unknown-linux-gnu-0.12.3":
"d63a773c9e2854d4d726bc8ac0d919736e8f8e683b5a54caea0ad470ce233f0c",
"aarch64-unknown-linux-musl-0.12.3":
"7890e49b12c1321688540324a7788457a22711657301598402cba1a9e9be6607",
"arm-unknown-linux-musleabihf-0.12.3":
"f9d90927ce787f2543c2bca779383fc849c13a6234604e538a77d8337a0a3462",
"armv7-unknown-linux-gnueabihf-0.12.3":
"822ce8b913a53957a7d6877ac905fe7787bdc790fbd9dba3aa962827fc4e5162",
"armv7-unknown-linux-musleabihf-0.12.3":
"d3061cd584c331ddf211a32cb99cb15e7cbf8e5d6d8d471b559d389186e378dd",
"i686-pc-windows-msvc-0.12.3":
"500aebc9beda7ca2f4a00de54f950ef0912a8635d1a0dbfe5df65346e421e4dc",
"i686-unknown-linux-gnu-0.12.3":
"d651632b053fa048c7f6d6429606b4e19f11e69111124c1a2bc0eee0fbf329ff",
"i686-unknown-linux-musl-0.12.3":
"43ef80b00ed8524684fa50876e95ff36d2f270c91891987400fa9610c9253d8f",
"powerpc64-unknown-linux-gnu-0.12.3":
"3a71736656982bdc9a6a857746fd153e076f2ddb3dccb7c3172847c7737ca448",
"powerpc64le-unknown-linux-gnu-0.12.3":
"6db433e006a43a4064a2371e1721764ed95753550ae0be82329cafddd6d3462b",
"s390x-unknown-linux-gnu-0.12.3":
"a88bf4039b788d830c8dc190dfdf28166e957fc1d093a8b2ae7247ad14ae1b96",
"x86_64-apple-darwin-0.12.3":
"472a4790db11a8bcd79cf7b731fb1c036c376f9cc4e6532099f8f39a6f86b9bb",
"x86_64-pc-windows-msvc-0.12.3":
"37dc6f2f5756421fc59fe5f841ecaa92beee38a39751dfe5a42bdc13992da3d5",
"x86_64-unknown-linux-gnu-0.12.3":
"9e3a139c5458d4b14d8e2130ec42121ad5801b528497b298e28b68972507383c",
"x86_64-unknown-linux-musl-0.12.3":
"6ee9216ba4f7fd761e68bd5c23958e662c67fcff8f49e511660d557431b4bd7c",
"aarch64-apple-darwin-0.12.2":
"633331c47d0775bbf4924be69896de6e6613c86685b0c58a0079adad2213288b",
"aarch64-pc-windows-msvc-0.12.2":
"36513f0a1ab3b88060e62857e3db0eb53422fbc824ebb0ba65938a292d01939f",
"aarch64-unknown-linux-gnu-0.12.2":
"734405a442ef5fd263275a76bb4fa7d669318861b26cf9885672ad21c82689c3",
"aarch64-unknown-linux-musl-0.12.2":
"077d87a300129246c7857cb2ef2e454064b41f1976173f37b379acf36391cbbb",
"arm-unknown-linux-musleabihf-0.12.2":
"d11b1371f659304fef8c03e28fcd79a2bd0fb31cb0a90e803030cf7982e8589a",
"armv7-unknown-linux-gnueabihf-0.12.2":
"b81a97799ecb045ded09c022a0b2a38834826d8623475fcfe35d8287b41f2b2f",
"armv7-unknown-linux-musleabihf-0.12.2":
"806218760b038bf059f5e84169cd44efc9998547b2d178643669a4411ee9ba46",
"i686-pc-windows-msvc-0.12.2":
"568195cffb23e9e650e55cf8bc7be4268cf5a6906cbd6343ea8def5c70fab8a2",
"i686-unknown-linux-gnu-0.12.2":
"ff1a1f3663cf9601a4c6ae1935435e682eb341e0d4c8a8511db00c7571a2bb62",
"i686-unknown-linux-musl-0.12.2":
"c5036034779969fa661103be20f886106f3eb44a8d1aa4d992b3612071456f99",
"powerpc64-unknown-linux-gnu-0.12.2":
"91178128af0e34a0530a5e17d1fe1a2824f7a9a2e4b1a8809b5be5aff11cd3a8",
"powerpc64le-unknown-linux-gnu-0.12.2":
"5ef9d77112aa5ce699a57be29ef0b7837740ac71d34f3c0d72f27478993a68da",
"s390x-unknown-linux-gnu-0.12.2":
"0adfef00e795810a3b5ecd55c80364b3c89e33dd3728b5689a4528eb62b40d22",
"x86_64-apple-darwin-0.12.2":
"8d4aa6c8e6d856c8f62e81386d5235803b985422e7a955dc43c287895276f63b",
"x86_64-pc-windows-msvc-0.12.2":
"7562b9383e9c195e17b6f524165dc6da6435a76bf549a5132977dbcf598c890d",
"x86_64-unknown-linux-gnu-0.12.2":
"eb37b0eb7f4742b0d3a6edab3a11846c5c07e641987a0c40a944ddb89239d977",
"x86_64-unknown-linux-musl-0.12.2":
"2ebc92ad3089245c46cfe793838a27be1c635c413db7dfc375c9ad7ee37b3e7f",
"aarch64-apple-darwin-0.12.1":
"f33ec69d83f713e0ff2cb720969325bb1553e43978e2f1c21498bd31e11fc643",
"aarch64-pc-windows-msvc-0.12.1":
"a63061136085e15915514205297e432bb178ca2f4ce5294b12f98be9c60470e9",
"aarch64-unknown-linux-gnu-0.12.1":
"2e42713b3b544c382e969029cf6019c99df09b4069f6a3a828a9be259f3237c0",
"aarch64-unknown-linux-musl-0.12.1":
"cade8ed7dde323d5592928c0ce75c78c34d514cc51e044cb0d0f7766d3c7a2b7",
"arm-unknown-linux-musleabihf-0.12.1":
"15be4817abc62c105f593314395fef3bacf1f37a375b2c1e5271c330b0953f8c",
"armv7-unknown-linux-gnueabihf-0.12.1":
"39297b08493b01f8e90146fae33aa5280fafe07045b381ecbb5ec77f3715d44a",
"armv7-unknown-linux-musleabihf-0.12.1":
"c7a084c3ca22d7d320f92109da5e05ebea6b9fe432a2ee3a16a9a86b6388a596",
"i686-pc-windows-msvc-0.12.1":
"6ce28e584a294f843dc278bcd7fc88db02c56068faebdafad0bd552f2e355af9",
"i686-unknown-linux-gnu-0.12.1":
"aae32a5582e6b93111ef56d98d6ac6bdbf0c9f4bb1ca32f7df0a7b957d403e81",
"i686-unknown-linux-musl-0.12.1":
"2deecc1daa1182898c43f80083911103494076e86ef64c33a73824ac05bb1266",
"powerpc64-unknown-linux-gnu-0.12.1":
"19d346f40b7efc4700c1b0b4e4b10c8f075d7e3dbb7ea13bc09868300a2eef36",
"powerpc64le-unknown-linux-gnu-0.12.1":
"70f25366b313ca2b1f6ea5233bc6f08e4ad4256994e7356f1cea1ae8b53bb5e3",
"s390x-unknown-linux-gnu-0.12.1":
"2bb70c4f029ebbe05ec0dd546dfe8bf52a918a4404c7b5dc85f2aef30beee20c",
"x86_64-apple-darwin-0.12.1":
"eb1728cfd8b969079e232047c70ece00dbb110248b61dd5f9b7e57191fd466c1",
"x86_64-pc-windows-msvc-0.12.1":
"ed16ae044866378c27855f44400c1eb0db8ecec26ef07582dae1d550b968d9fe",
"x86_64-unknown-linux-gnu-0.12.1":
"61357b8326d116113596a3d8e9f2398c33f0d21e0f99d50d9e03ac9578194d48",
"x86_64-unknown-linux-musl-0.12.1":
"490102d2426a2941dea07af49dc8befbe4f0d2c29dfeb4290adde824a10099ed",
"aarch64-apple-darwin-0.12.0":
"a72d648a24030d9b34c65043b348cc3ab40b157e7b78e65098fb88ea317774f1",
"aarch64-pc-windows-msvc-0.12.0":
"366ef0d9cc20c2d9f396f81ff3365d18a1ebdf1c7d2cbcbbb10c6fe82987f2b1",
"aarch64-unknown-linux-gnu-0.12.0":
"8e22a56ac726102512dcd5b1a503c37a5155bdd4430d97b89e994e5ff3614f39",
"aarch64-unknown-linux-musl-0.12.0":
"b58a162e297ba70e36c788d4c576025e939d29f11f46f22e448867571cad7d10",
"arm-unknown-linux-musleabihf-0.12.0":
"1297faed2157db79236618400231476d2f878107e09ae9c79f4ec01f357f3f91",
"armv7-unknown-linux-gnueabihf-0.12.0":
"6c7ed923f359794be34aa5113f12e923374b5e0d8a05f80d2a449f1a951aa1a7",
"armv7-unknown-linux-musleabihf-0.12.0":
"ca96fa7afe2c3ac53a3269664ba265c3f02c4aa95e0ddaf5aef5f09661cc7b38",
"i686-pc-windows-msvc-0.12.0":
"d371f72753b7a4a8ff1cb8596a65c794bb864be3a7654c399e8fb73826f5d8d2",
"i686-unknown-linux-gnu-0.12.0":
"65ef09a64601dcdc07cebb5041cccc9425da8e57fd788388c2a7f1ed45b473de",
"i686-unknown-linux-musl-0.12.0":
"bcf10ac6977c2fb0ba9c5ff8a02733f68c2b6affb706606c7c7571ef1d4c7358",
"powerpc64-unknown-linux-gnu-0.12.0":
"41f9f08aea909f579930e7cb22907ff42698af5cef19e6f2d2653787a051d647",
"powerpc64le-unknown-linux-gnu-0.12.0":
"d23cd9ee0b687b9080dca8c357eadcc3a3944fed01fecad4e00c3f0596fea9f8",
"s390x-unknown-linux-gnu-0.12.0":
"c033fba4227bf4b831e015ecbdf38ceacb6329dcc2d9e5c3f6c99ad3bbdc0780",
"x86_64-apple-darwin-0.12.0":
"df314c2c6623c0bba40c988842efcd249d7a9a2480d0de9570ca18f75a2e4b9a",
"x86_64-pc-windows-msvc-0.12.0":
"b2206e1da2f08cdb46e1e5cdafdb6b1d307bb568cc299111742173843d340db3",
"x86_64-unknown-linux-gnu-0.12.0":
"1a2194e90cc4836b0c56820eb282faf17180db2ee4572f91c91a2d6a432a2306",
"x86_64-unknown-linux-musl-0.12.0":
"03c554016d0638182694e69aa222341c4c762d9ea982b8dfe712d757c806c76a",
"aarch64-apple-darwin-0.11.13":
"7d5e8feea7ee5c3962807996cad557e8a0c4d676c1cba6223bfb0e8b2ca07723",
"aarch64-pc-windows-msvc-0.11.13":
"67c4e1196d798ab8e4c0fb3fc81e3799ec9fcab1d236f286d348dcd6dfe4cfc2",
"aarch64-unknown-linux-gnu-0.11.13":
"551af2ebc439d8268dcaf871ea60ad035f688728d30943dcbb2bf775e105213e",
"aarch64-unknown-linux-musl-0.11.13":
"1ff8292d610302bc20791f6ab264de499b6d2fbf89030fef915908c564a78e82",
"arm-unknown-linux-musleabihf-0.11.13":
"29673b677d883af356d091b286768017ed9a4ed441d90e6efe3d67d90472095e",
"armv7-unknown-linux-gnueabihf-0.11.13":
"c538bedebdb64be55032ff3bd152740102398da4c4623eb61161ec3527b19354",
"armv7-unknown-linux-musleabihf-0.11.13":
"f08585d66b9148f3350601ce98d60002838b5055d9998239b70039d1c5f7a938",
"i686-pc-windows-msvc-0.11.13":
"2f226cee3dfc3964928e7cac890f022fa034bc4d1fb9b6124260f5dddd23acf2",
"i686-unknown-linux-gnu-0.11.13":
"dc36050b624fd9a9abf2c9a8547773ef20d670646ea471b62feedddda26a9e48",
"i686-unknown-linux-musl-0.11.13":
"184deb0a381d73b12c0250b95e70f4517832dc035f252f5f2f32ed10f41f2d6a",
"powerpc64-unknown-linux-gnu-0.11.13":
"bdbb5abbb705829e5c759f549453679d875f7e7bc8e71cec1255691a3252707a",
"powerpc64le-unknown-linux-gnu-0.11.13":
"c1bc862c95f8eb68e164f570c5474c671bf7fe621c03bab51fb5b612ff26b86f",
"s390x-unknown-linux-gnu-0.11.13":
"db6d98824ee7714933b6457b1463a2d6eaf99f41ca4f9e2d7c22bb03b953bc6f",
"x86_64-apple-darwin-0.11.13":
"8dcc61306472f75c07af6d0446060e26227d773cee319d21900ac3a1d7bc4955",
"x86_64-pc-windows-msvc-0.11.13":
"d77fb4ed36392337d334bf9bcef1c5d91ec221e96c53ae8aa147e922c71ddb64",
"x86_64-unknown-linux-gnu-0.11.13":
"01aa32d29d00876b8d1429c617ed63a00b1fc81abfa4183bb05c9cb647fbc3d0",
"x86_64-unknown-linux-musl-0.11.13":
"4540e8bc5b2af73c4b79e9e993724b044310eea4aa9003cf05ed4bdee6c25735",
"aarch64-apple-darwin-0.11.12":
"6e8bce88be5063d3378b6fa51430655884794f6cd04a059721839dc012b7ee7d",
"aarch64-pc-windows-msvc-0.11.12":
"cde9c77e457edc98dd9f2ac39f1415d00117c564e7620e055da260fc05085476",
"aarch64-unknown-linux-gnu-0.11.12":
"a14bf81d237e10abd7fc751cf55249cef10e7952a4267fb9425296e12132f2f2",
"aarch64-unknown-linux-musl-0.11.12":
"80f0b463a7417b93132d7411f2ed88170b3e8176abfbd49b1fe1efae7afe4d90",
"arm-unknown-linux-musleabihf-0.11.12":
"77618903fd427140747782275e543038338653a59d274650460ecdfe8106568b",
"armv7-unknown-linux-gnueabihf-0.11.12":
"edd175894965c1b28a1cf813e4fcca030539ef69d768f79f8bd77b15641a53ed",
"armv7-unknown-linux-musleabihf-0.11.12":
"10709f963cbbb1c7c0c88f0302be325f0f91db8880c05b87685769b907431d26",
"i686-pc-windows-msvc-0.11.12":
"1bf29679dd5206c9934d42040a5bea6398ff34148c888d89100b8469178cba3c",
"i686-unknown-linux-gnu-0.11.12":
"2d2a09aaf570d35e8a940ee0b8451c7e5441aa7bddc114162bf76e0390c2093e",
"i686-unknown-linux-musl-0.11.12":
"d5f6b5e87e65b988acc2687a64fe8785d99a9a60d18f0a213bc5570d95d07ad3",
"powerpc64-unknown-linux-gnu-0.11.12":
"7ecd577a4f6d741e719ace85a497af26af5ccaad26fd68461245a6bbd9cbf74f",
"powerpc64le-unknown-linux-gnu-0.11.12":
"3b298e4e22bf5fbdd60786bf28f483341fe2ee70a2059dcdacc9bac673234285",
"s390x-unknown-linux-gnu-0.11.12":
"4b7626c4d7f35acf40ff59f3d1abe555cd41afc8de357a997f2de742556d15fb",
"x86_64-apple-darwin-0.11.12":
"a843796077ceba6aeb4a07bda0756989cb1c517ab4d1b929ead9efcde6fc17e6",
"x86_64-pc-windows-msvc-0.11.12":
"e82daaa5e48d736188701453c299bc8f88499688ebdada4b1abeb723965ffcd9",
"x86_64-unknown-linux-gnu-0.11.12":
"a2a6c25916f05b351164ae638169b9edb2149ad7f33e45360beb1ac271eae34e",
"x86_64-unknown-linux-musl-0.11.12":
"148e03ce15ad569066120905c86e446e066c0f7c4f986d03825c273c5e2147e2",
"aarch64-apple-darwin-0.11.11":
"814ccb26bed9c027bfc20ac88d33494ab0be62721757c73be70e26c23efbb3f7",
"aarch64-pc-windows-msvc-0.11.11":
"7c43804a3a9646edbc70eda6dab061343a5545844dbaff82ba472df3be4b74e0",
"aarch64-unknown-linux-gnu-0.11.11":
"26bc61fce6be2f358f656c7cc5b33725aafdc6ae6b21ee48fde10ad0d9b702ea",
"aarch64-unknown-linux-musl-0.11.11":
"3ca33d9b68b8b0bc7e3673b7638910ac2f7c5399303b37bec4d13c005481a78a",
"arm-unknown-linux-musleabihf-0.11.11":
"9d5cf3a8e5c495156479a7bb0a438f0f4bec6dbf69cdd48ede1cd508c41cd43b",
"armv7-unknown-linux-gnueabihf-0.11.11":
"acb854e89c24333a17cc2aba7adabab7314dc16bb92b52094661f9ca5843703f",
"armv7-unknown-linux-musleabihf-0.11.11":
"4e48259a71c1e806e64801bb3a55df555ee8b62360fb15f19e7ab3c496ee6f10",
"i686-pc-windows-msvc-0.11.11":
"507a588d22c9eb3558c86e85d50f6cbc099d52444dc05290c61ae8454aee25de",
"i686-unknown-linux-gnu-0.11.11":
"bd1e258d14a9a399bbb6fac468c3bfdc464858c028dd48ae3517f35b01a310c9",
"i686-unknown-linux-musl-0.11.11":
"4de74178a1e0181ed56b623943a3198c4f7f90da918d050e846a1468050bf4ad",
"powerpc64-unknown-linux-gnu-0.11.11":
"da883ef2174136c0d50570a16c01f57fd99c55e05914ba35dafd37b49e5f0331",
"powerpc64le-unknown-linux-gnu-0.11.11":
"ecd54e2738005a345ecc80f834f89a3d55c791e89ad43ca24becfbed79d490a4",
"s390x-unknown-linux-gnu-0.11.11":
"7a12eb9e85126cf9018842bc206b763211e9295ad6906e46c73b76ae110924ba",
"x86_64-apple-darwin-0.11.11":
"8bef00e82bc07ea26b45adcffc3d55b2d0821f3a3e4d5f441f4dd4ad608fc1be",
"x86_64-pc-windows-msvc-0.11.11":
"b7619ff27098a4d7f37c52fb8fc61ccfe677aaade7722a385b40f8d5273ebddd",
"x86_64-unknown-linux-gnu-0.11.11":
"4883053606fc9efed6f8860145bcbf66f0f421684054c156c84b04bd9bf1638f",
"x86_64-unknown-linux-musl-0.11.11":
"bb64b083767a5fd0a62e10e9a35614974ad53025e2878cf14a0c698680e6c30c",
"aarch64-apple-darwin-0.11.10":
"1c4187c5ecd76535b76e991af1114d9c9947fe69e6d1a69c9ed6723d6777a53e",
"aarch64-pc-windows-msvc-0.11.10":
"765234e319c8fce0b0216f570f4480b7a7b77d019347fa301536b808c245375b",
"aarch64-unknown-linux-gnu-0.11.10":
"a39ff81bfe023d55008943f11221d49759d73b9fe6bf76584626cfcdd33d8684",
"aarch64-unknown-linux-musl-0.11.10":
"acddbf808ba83c9dda01391ddd1c7f0c23d36f1f2cbbee6290d98363f3e4cafc",
"arm-unknown-linux-musleabihf-0.11.10":
"8647e140f06719c68220157205ef21644901dfab8daefe72cf08317e45b212d4",
"armv7-unknown-linux-gnueabihf-0.11.10":
"49eab0e5ec80c1d1a13737d5ad0ca69ac79227ece39750e4db38ad9f3a20f3f0",
"armv7-unknown-linux-musleabihf-0.11.10":
"51bf490bd5a357d76dd5ca7d5aa6724e4445a413720e3d370cf28194f12800fc",
"i686-pc-windows-msvc-0.11.10":
"e0aab393a0e9da99e7cadcfbad7bfa6abbe3de9e1fc69eb3e649ed27769fd7a1",
"i686-unknown-linux-gnu-0.11.10":
"5cab3435770f98a3171e3890b870b2bf682f1639470d46e1538a2117a0072464",
"i686-unknown-linux-musl-0.11.10":
"f98f40b6a9fddde57459ce635b94cacc417a6682aeab24ee1091f7486c64eaee",
"powerpc64-unknown-linux-gnu-0.11.10":
"084d19d34b553212aceb988f2de97f304a214f0c93a230366bae55351d0c552c",
"powerpc64le-unknown-linux-gnu-0.11.10":
"02abc4c8d4f40d4c2a02a4fe1edf6061ac724e95b0c65e5ccfd968b150d7154d",
"s390x-unknown-linux-gnu-0.11.10":
"379ae3fa5b61d8e7433cf9fa5c76aec8a7e3f17e686f55100cccb13765b4c8f4",
"x86_64-apple-darwin-0.11.10":
"25f0a8b819ea5c9377be02fd98c363ffb5659c35358881a1ce909f30b362cb39",
"x86_64-pc-windows-msvc-0.11.10":
"d77bc4ecdb0f50f5a70422db90ec735caf71c3ea3e201e6e84a78fed695a4950",
"x86_64-unknown-linux-gnu-0.11.10":
"ade458637abe06ff6780e0b3a5fdd281da552d33eb75b954fc2a27278258b856",
"x86_64-unknown-linux-musl-0.11.10":
"8765d2f71c422f60a1456a2b2d9b2ee2ab286cb4859a774b5efb0a837a07f6dd",
"aarch64-apple-darwin-0.11.9":
"d7955d8cf0b96471757d9733b21576b00baebecc056e3382d7023f092bfa8526",
"aarch64-pc-windows-msvc-0.11.9":
"bebd2f05e37101023d32ca6b0a6ca1f619b0c5faccde7df0960d96bcc2bcf8bc",
"aarch64-unknown-linux-gnu-0.11.9":
"8dffb447ee07405dcb0939666703a53ac38d6703abbe48db6d5ec8189544dd37",
"aarch64-unknown-linux-musl-0.11.9":
"a3d6ee64ce182345d88ce2d1a2960d9261d2bcf6746b85be769b31e27349f6fb",
"arm-unknown-linux-musleabihf-0.11.9":
"1c480bcfad71617754f9518e44db9670ff87145b79d03dec3db4b50c5a743dc3",
"armv7-unknown-linux-gnueabihf-0.11.9":
"2a8739fb4544a2da95d3f64f43a01d86468dc4c72d47f0cdea4dbd36767e5b3b",
"armv7-unknown-linux-musleabihf-0.11.9":
"5cfb13bad415b339162d60ca044c248130882ab014d648532fe789540f8fc80d",
"i686-pc-windows-msvc-0.11.9":
"17dd0dc46c38bf1fe4af50f1cc5b128054a43182cfb643d5ab2ac0382e94719b",
"i686-unknown-linux-gnu-0.11.9":
"472c13baa143869103ab40f8281d39691abc24ede7bfbcbc57bb2a796b84bb52",
"i686-unknown-linux-musl-0.11.9":
"d1f795e59c2e0842352b00e8301ee8fe2fe321fd5af39f419b77534b4f6bd817",
"powerpc64-unknown-linux-gnu-0.11.9":
"e5165cf2db7d74d1d05bc7fee0c36eb92578716a6b86d95d63c3a4577102350e",
"powerpc64le-unknown-linux-gnu-0.11.9":
"022579b3fc348651103a2dddb21f5844dde111d9b539f6179448e076dc9979fe",
"s390x-unknown-linux-gnu-0.11.9":
"f657228facc1a131a4896a028a847bba95ccf82dd6570385cacabb8f186db26d",
"x86_64-apple-darwin-0.11.9":
"88d5c544ac4a420b3c58e0a858a7807c545668a6a3fb9e5403ad73aa0d55b653",
"x86_64-pc-windows-msvc-0.11.9":
"b3c7144d40b3860b104cb88e5c8a95a326b81b3d305b9b6a2ce304761b8508c3",
"x86_64-unknown-linux-gnu-0.11.9":
"276f6b928f61724b255e04e7e3b9e6859f86f4eec5d1b906a72983f3365b6671",
"x86_64-unknown-linux-musl-0.11.9":
"7125dd1baf4f4d635a185c84fa8bef7f572a088e30d160a07f97f2c9fac70c6d",
"aarch64-apple-darwin-0.11.8":
"bc3fc6693437efab1add3f288d6d16fac6926e6888c1e758ec162d5b6fe9099d",
"aarch64-pc-windows-msvc-0.11.8":
"06c2152f269949390bdde0cc9f6d74eb3f4068853a3d772b9ac9baa675b63a06",
"aarch64-unknown-linux-gnu-0.11.8":
"a6010d9393e254c73c81a9942fd1d49c6d1061a84bf76e024627924adfdd9e99",
"aarch64-unknown-linux-musl-0.11.8":
"7a4882654cd8b7c79b0bacd0f9b2062ec08a111a7f2621c69718000a165c93b6",
"arm-unknown-linux-musleabihf-0.11.8":
"e9d8c2e59d97b841273369350c64113708b402372fa6fd933aef70f2d4db9bf6",
"armv7-unknown-linux-gnueabihf-0.11.8":
"1eda8253c82dfc9232508ffb52e1e7d320719c60781a95a0f0e2a4b9ac7d7829",
"armv7-unknown-linux-musleabihf-0.11.8":
"cf4e4ca7426279051c4bdfb846749b8a75fe01892b9b08247dc700ece64af277",
"i686-pc-windows-msvc-0.11.8":
"c9d35f023f94110fd77e0d84240b8c1daf26f923e115556d7ef1e1d3af663e83",
"i686-unknown-linux-gnu-0.11.8":
"3d98524a340aede7ab974fb6f62778254aff1e9a57e565a22a348fdc02753566",
"i686-unknown-linux-musl-0.11.8":
"01f5a7ac05eaa0d548792c309e75fa24d18b6685831743e984d56b0fc4514251",
"powerpc64-unknown-linux-gnu-0.11.8":
"2c45c30ed216f67148ad8e96656efa0f9a4a7591c7def32fdd9db5db86a643fa",
"powerpc64le-unknown-linux-gnu-0.11.8":
"85705683af19f1dfc3c90424dab2525422a1e03e487610a79b725f96e04a4953",
"s390x-unknown-linux-gnu-0.11.8":
"722aa00e479f58f906e7bf697336b9ed3ccf0df939b83e10f2b778a6b136bdc6",
"x86_64-apple-darwin-0.11.8":
"56eaecad5d4e41d2f799bbb705d83238436de4a547e5d04c0591ae3422ae61cc",
"x86_64-pc-windows-msvc-0.11.8":
"2279f17ad7474b9a1493ec2aab404e6f1109272d3221a5d38ee06ceb0e4c6100",
"x86_64-unknown-linux-gnu-0.11.8":
"8edc7a28bb958af4ebfb6a85002c8cd96d88f264dd8c080e065a6e984963ce3c",
"x86_64-unknown-linux-musl-0.11.8":
"d5b331c4dd88a99b3b16babcaa8dec8b22f4004b880243f35f73c276f56684ff",
"aarch64-apple-darwin-0.11.7":
"1c6cc5fb36fb001dfa7331892f9d808bc7ced1d45f0ec54b4caeaa571bc55495",
"aarch64-pc-windows-msvc-0.11.7":
"c18bc5d87b9b582f1f9da6bdf78fa4a710f9d40f409cfae330f20bf9f16ce631",
"aarch64-unknown-linux-gnu-0.11.7":
"ccc11afdc3d3d3b146f972645d54a49c819034b8379d190281962bfa80c69389",
"aarch64-unknown-linux-musl-0.11.7":
"6cf1772002cc8787f5dd24b3fa7aa86bb26ad7188854f3df40a435467ecce10b",
"arm-unknown-linux-musleabihf-0.11.7":
"54b2103852c9667eab6df2b22649f1e0b16e1f4106888e9e239ada1e263bba0e",
"armv7-unknown-linux-gnueabihf-0.11.7":
"770b301a87680d96a3400e6932028efcbd181ab22e6a8dd551a1efcc2b6df82f",
"armv7-unknown-linux-musleabihf-0.11.7":
"8401fd29776dfd02f68a2a13bc4aea04b4da202237a0ab9548f9e373edf74b8f",
"i686-pc-windows-msvc-0.11.7":
"8608f979877847e8d218c9b5bc327bb5e9ce45b39961addc8380ffd9f4833a1a",
"i686-unknown-linux-gnu-0.11.7":
"8b837237cd348d87f7a1a22341d65a2a4b082173d5f873caa40a45493d6a8117",
"i686-unknown-linux-musl-0.11.7":
"897c08c45b8fcfc90770250ea61cc7cd22badeea2b7a685d78bf5f3892ae09a6",
"powerpc64-unknown-linux-gnu-0.11.7":
"38fc8cd8a4432372974668cf5256d55de2158ad5d919b6eff55637b50b4e749a",
"powerpc64le-unknown-linux-gnu-0.11.7":
"b9a8349f934930809981bf330dfa2385bb5e8c1d3a16752710e1a66130d44a97",
"s390x-unknown-linux-gnu-0.11.7":
"3daa6fb92450347b3983913624636c26d9451487b02a27880bcb6665413b1b5d",
"x86_64-apple-darwin-0.11.7":
"2acd8b2a63749e17506cc7a4a00b2ef007a3793d365ef0b6ed2a191f77219f35",
"x86_64-pc-windows-msvc-0.11.7":
"9e319a18844da490949303ec5a60032f6ee8d673fb174bd4e70c8641b091375d",
"x86_64-unknown-linux-gnu-0.11.7":
"7f448fea7bac3320416d1465219b8bd58828bfef9a3c8398094ca6c09b71148c",
"x86_64-unknown-linux-musl-0.11.7":
"0caf32ab0c399bfba08d18b190dc1aaec8ea47368864a4bf3b3f113e36e8fd68",
"aarch64-apple-darwin-0.11.6":
"fa9a4f229431f1971c4b1d35567237706384104af464d1d34013077e75b0dff3",
"aarch64-pc-windows-msvc-0.11.6":
"a5b28d8f4eb6a46bdd000f11579fcb074ab3be1e3d9140c225b7111cd7f6708f",
"aarch64-unknown-linux-gnu-0.11.6":
"ff73176c526026b02847901b9a51a1ed395a445d3704dbf60df4bd68d06f0be7",
"aarch64-unknown-linux-musl-0.11.6":
"05e42f4293649535fd381c6af6527af98868703f6072711022b76fffefcb669f",
"arm-unknown-linux-musleabihf-0.11.6":
"f9795e7edf81afa1885409d84fe4a25f7e9f7db35cdcb7e825eb5f9adb6c9c94",
"armv7-unknown-linux-gnueabihf-0.11.6":
"1c94650fdfbc0923495fea6b9be92ac503896f55ca255df4a9c3758b59e98475",
"armv7-unknown-linux-musleabihf-0.11.6":
"e8beafa466781a59902b92979a65e1f8999609874624c8fcda30812cbad3540a",
"i686-pc-windows-msvc-0.11.6":
"268f9450c9a8fad32c84da1cbf3be34f2d4fdb56442cae8d73e64c6476437f31",
"i686-unknown-linux-gnu-0.11.6":
"00c91021cdb13e781141c7cbf3bda5429e3ec60f70a87fa71452596d48e906b6",
"i686-unknown-linux-musl-0.11.6":
"a0fe3d93befe5b9767deb9d072e0f0b140aab37be1600e51ae06c16239d8e391",
"powerpc64-unknown-linux-gnu-0.11.6":
"04a25b6c39f94d6adfba2549ad94117dc8783a097378fae21b378a7cf763ba0b",
"powerpc64le-unknown-linux-gnu-0.11.6":
"ee67e166d653011fd6d3ff7231eceeb4a46c544a8deed808933e0a50b7dfd75b",
"s390x-unknown-linux-gnu-0.11.6":
"59ac481df26bcdef791ec69c32ab43068b132f771d40f505bce6f4947773adde",
"x86_64-apple-darwin-0.11.6":
"5af295e50f2a7db9767964bfe1af1cd9b61004b4e7fcb9e29059fb7aa561ad21",
"x86_64-pc-windows-msvc-0.11.6":
"9fbe8bc77738d2f231d580e315c54bc615b1bec22a6df4201e1d9a821f842ae3",
"x86_64-unknown-linux-gnu-0.11.6":
"ccfaf04f1f912c77ff12890717a4390166ea955e51d504a6f68c2fd2bc70c39e",
"x86_64-unknown-linux-musl-0.11.6":
"e5d91ac0472fa84942fd82cc9289637c9ec5a4669b8b2e2be6f61983707c8973",
"aarch64-apple-darwin-0.11.5":
"4a5b1a44412bda817debb67d826a565f11b235744870b509f44102403a3a9e89",
"aarch64-pc-windows-msvc-0.11.5":
"b31e0b25db4810115f714669152ad953e2b0902630c730457152bddebf2ca3c2",
"aarch64-unknown-linux-gnu-0.11.5":
"49955aa67dc524dfbee37ce3749d7f9331ed2d79c3a204da1729068d2f41d667",
"aarch64-unknown-linux-musl-0.11.5":
"77c11c7a70d3bf499915bab5a7691e955f4127164c4cfb7ef4e0773892ed2509",
"arm-unknown-linux-musleabihf-0.11.5":
"e84eb046fd064e34328c9e4dc931f48553d4b15899794aee024e7f3d22fe7292",
"armv7-unknown-linux-gnueabihf-0.11.5":
"da597c4e014c59dcc7826fd088d8cc12d3a1d22cbd7da6128b399c5a364781c0",
"armv7-unknown-linux-musleabihf-0.11.5":
"9f1b0efe535b1f376b627ca91adea6bcbaf25202f4601644dbdf45329f351a0f",
"i686-pc-windows-msvc-0.11.5":
"d3333b62d4ef26d2872f6c0f3f6340da161f8e4bbc7359dd9a8eab2cb4bd2f1b",
"i686-unknown-linux-gnu-0.11.5":
"70535bc5f92315af0f738c1ef2feb3653a5f4168a360d9a305918c3c4ad13e70",
"i686-unknown-linux-musl-0.11.5":
"240a76da851374d14851d0e1a90e4cb289c9420fe502e7cfab66d1aafaf130b0",
"powerpc64-unknown-linux-gnu-0.11.5":
"38f85d692148fc2142dbc215954fb2c08bebf9cbb23c2cc24b7c92a938bdf05b",
"powerpc64le-unknown-linux-gnu-0.11.5":
"2e51789ce389d15852a39b7204ed118f26dcea989a98da513433b0849901795f",
"s390x-unknown-linux-gnu-0.11.5":
"c8908e1e157f0ea5579be71b3fdc52c86f440e87026c4894d4b232d4797f9394",
"x86_64-apple-darwin-0.11.5":
"c28725c6421d5834b2cd16c7b13c3831b3363d6d558448d7dd3e0aa695551f94",
"x86_64-pc-windows-msvc-0.11.5":
"2679f4187e5cb317c5a1af17f6114d314b0d5534147097773e1cc0fd8b512429",
"x86_64-unknown-linux-gnu-0.11.5":
"291972831e6dc576caaa393ed4a8ed0c4d82e0ff4ea08d4e849d6e5ac840a833",
"x86_64-unknown-linux-musl-0.11.5":
"067c1c6c4d6033b65fe788f5310075686110b286a102431fb19883c079e2fca1",
"aarch64-apple-darwin-0.11.4":
"55a555097986e7cf0f84ce564f1638ac1da23eddf76d4b1b47489f3922cf8ae4",
"aarch64-pc-windows-msvc-0.11.4":
"90ff70103285d09929f7b31a11c30bd2c5df752e2d3a61e540599cee06c39dc9",
"aarch64-unknown-linux-gnu-0.11.4":
"6fbc86c6668dbf910d95722e15d0504e1dc40b4ed0a0270ed1d25d43e44aea80",
"aarch64-unknown-linux-musl-0.11.4":
"c8e81e2ef126c2e033ca6e374bffcea7f21cb4c6bf8c7fff51a140e2d15bcb7f",
"arm-unknown-linux-musleabihf-0.11.4":
"c17dd23ebca317a2c3224ffa6c0617e353633a0ec7c7149f0a61dc9828cba73f",
"armv7-unknown-linux-gnueabihf-0.11.4":
"71584d500a601b77745d76aef81a11cd92b7200f42c663009a8b3bc03e68479a",
"armv7-unknown-linux-musleabihf-0.11.4":
"4cd49dbe93944fc1e9bf826d0940bdbcb171dec346db1ebb25681cc1a31e1a77",
"i686-pc-windows-msvc-0.11.4":
"2d068600be4a657b888ab4654c94b0f7f63d3246ea7fff14b734d2ab0053718c",
"i686-unknown-linux-gnu-0.11.4":
"5035f3b7d46f8b5661a0335ebfd78e1f841210bd601b98ce3793572fa8be744d",
"i686-unknown-linux-musl-0.11.4":
"8b8b48eae555dd67cd224b8f072ff745c13aa1bb1842afb9f1052bc9276a30d5",
"powerpc64-unknown-linux-gnu-0.11.4":
"a7403d043978726e2fa665e16419ef2e3836b091036c9c38426ba1872492a9ea",
"powerpc64le-unknown-linux-gnu-0.11.4":
"af9cc3230a7515b4f1359950c5a2288d0c3bcbbaa3b892e729227395cf1e80c7",
"s390x-unknown-linux-gnu-0.11.4":
"655287e21286ccfa6e203b0d7d904cc539be59f16734b3a273a2cdbd0a37deb1",
"x86_64-apple-darwin-0.11.4":
"744d62f6d3b35b8a01c5e4d08cc8a61dba28d289747f20cf38d4945e152b9b5e",
"x86_64-pc-windows-msvc-0.11.4":
"b8b64b08a371e195fd76a9a4f38d30de9ca3c0151eea776d55c53324c3de4ea4",
"x86_64-unknown-linux-gnu-0.11.4":
"69b9d9228ecadcffec970976e7d5c989064c2129ab03e606b3f96e588bcc1ffc",
"x86_64-unknown-linux-musl-0.11.4":
"116444192ecb0378e06a3665069b344e80acacb4e7071cd25e4026b70eaf3080",
"aarch64-apple-darwin-0.11.3":
"7c265ea9176ffa8310adc8e8b8e3274e77dc663f0404fd6f92fd417e159f413c",
"aarch64-pc-windows-msvc-0.11.3":
"281f3e2ce6d17409e54f5a6a883e1aa8bdfa70d86baca74efb17b617094926cf",
"aarch64-unknown-linux-gnu-0.11.3":
"a1696128279f927f67a051949edeba9359ef20366b4349c1cc1b8e690b59743c",
"aarch64-unknown-linux-musl-0.11.3":
"b98da720f726d5e42a89bafe3b7e40dce74f0493d92e675cc4254349a25a2f6a",
"arm-unknown-linux-musleabihf-0.11.3":
"35315a8a41dec64ca36a5b030ac41dbf4505de4eb4aab7e41bd07e520746e7fd",
"armv7-unknown-linux-gnueabihf-0.11.3":
"9eb3fdfd64649c20a6f2765e34585fc3a7ff5a3beb64fcafe2f8f9b2fb8df680",
"armv7-unknown-linux-musleabihf-0.11.3":
"d7d5b51c748421420903805c851d47817749d1f6c99d1ef98ec9a4e990df57a1",
"i686-pc-windows-msvc-0.11.3":
"e4a3ad502c4ebcb50e54acc2643aecb2c3adc16ed00d2bdac8ab08898f508431",
"i686-unknown-linux-gnu-0.11.3":
"4dac993bf409508831a0060ae46993615dac5da670ef2958a6202d9a878e36be",
"i686-unknown-linux-musl-0.11.3":
"c3d654428a9aece53d684ec94bb5b93ac530b801167e193de4973a93b1f5cef0",
"powerpc64-unknown-linux-gnu-0.11.3":
"32f9fb6f641d8dc68c429bd82bd551184fe8d60b8b1278fbedb9cf08bf3c5a14",
"powerpc64le-unknown-linux-gnu-0.11.3":
"1f10bb8de6808f07e95ab75736401189980d3737b969c99eb390586e16a818be",
"s390x-unknown-linux-gnu-0.11.3":
"0c92a5798cb2e1955500f159535258983358546cb07c292b2f3398c0a8e935aa",
"x86_64-apple-darwin-0.11.3":
"b209590d1f856c9db5817ad8f5143b1a772c16e1429aa19cce2e299507e1898b",
"x86_64-pc-windows-msvc-0.11.3":
"d5649ba04579aa66aa876862fa58d28ebe327513e7b4d89f087f04992ec69f4c",
"x86_64-unknown-linux-gnu-0.11.3":
"62568251d4dba83d5430ff0a9abf165bc8b7fb0372650fa7d5565634f6b4248e",
"x86_64-unknown-linux-musl-0.11.3":
"a2e4cfab3eb83f0cf6717e88da734a4c783c0545f1be402026d1376e5de3323c",
"aarch64-apple-darwin-0.11.2":
"9961fffc17d3a8f6ce8bb92f0b2a90fda80f0ea2d0c1346d6117bb4e18f34913",
"aarch64-pc-windows-msvc-0.11.2":
"a41f4e8822701ef3391831365de8adf3b1cc976726a93a54216de00cc34dea93",
"aarch64-unknown-linux-gnu-0.11.2":
"7f35af7323a7ceeec1d83e64ae669f87d38162a8267af88fff9a3f9b2c89a2f2",
"aarch64-unknown-linux-musl-0.11.2":
"51dc675fa09661f49cf8accbb0e1c115a5e3e00454c4619a63ba10e7f90a5852",
"arm-unknown-linux-musleabihf-0.11.2":
"5e6d9531cbb4387d8d7c652bba4d8161f305b98459496b650149872dac0ca1df",
"armv7-unknown-linux-gnueabihf-0.11.2":
"afcbb4e46d6ed3d5970a36863c3c6233e58c20bb7c762c78c68cf1d3d4a38f93",
"armv7-unknown-linux-musleabihf-0.11.2":
"5b7fa555836ca342950ecf9a6ef5ffdcb917f2b89d663580b327f0f0b0f5ac0c",
"i686-pc-windows-msvc-0.11.2":
"17d350f5a0a517ef535bfba1420b68189c0a445a3a0e19bb06cf9c3aeb8a03c6",
"i686-unknown-linux-gnu-0.11.2":
"8b27e39d4585964477f46abb6fbaa1804b6c35dfc86111d2d64e98632e49f0bf",
"i686-unknown-linux-musl-0.11.2":
"68129ce67cf5a606035ebefcb7f5ddd9235c57e54aed079b0df932a4c2a319ed",
"powerpc64-unknown-linux-gnu-0.11.2":
"67b89d962667af4700392d21fd78d7ace6c32f04085f3a5272ffa54f39a38b59",
"powerpc64le-unknown-linux-gnu-0.11.2":
"b384803d8b25c1980dd54987e2adad895953d97a950115738d4faf8c0f115f05",
"s390x-unknown-linux-gnu-0.11.2":
"a630420ecebc3a1a94ceb7131703342d4f4a70a29f5d7e69c96d21d98556bf23",
"x86_64-apple-darwin-0.11.2":
"acfc4c703112ff58319ad4b30382b88531414473daad4776066ed22fb86351e1",
"x86_64-pc-windows-msvc-0.11.2":
"88feff8d7b746b9226e4370e6563d12bf40e58e3233c18cd0c41f26c415e963b",
"x86_64-unknown-linux-gnu-0.11.2":
"cc5ebc29bc0493a2f42654f757573d062d0984ce91bd796a41109ab643ef4e3f",
"x86_64-unknown-linux-musl-0.11.2":
"b09844718d52aa72e914bc0eb806d2ea01ceea006378bc515170e4eae8632ed8",
"aarch64-apple-darwin-0.11.1":
"d41de7663c80b83ec3987a89d30f9bc64d49487bcf45078483944a80581e1a61",
"aarch64-pc-windows-msvc-0.11.1":
"ee7211b59f05be0e5c5fd24d5dc05591644fac4c15f4f013e5975511b27b9402",
"aarch64-unknown-linux-gnu-0.11.1":
"15b1fa9f855c62951d93d429af1a33f082e3a7192e4a1f1e7108d9b574921796",
"aarch64-unknown-linux-musl-0.11.1":
"c20e9c96e49d7e85c9bc32ad2a139016a39bb63df6db214de539125bda1f3d5d",
"arm-unknown-linux-musleabihf-0.11.1":
"b3281686a846322df070772efc6fc359480ae04bac0ca61a3cfb14f0c6b53c24",
"armv7-unknown-linux-gnueabihf-0.11.1":
"820eedda2fbe8cf66e8fd3abbaf2519b338ad5712c53ae493cb75f12dfad4651",
"armv7-unknown-linux-musleabihf-0.11.1":
"0ae6426c7cdc8649464350f64c4f07065199b38477257326bf5547a409c3d224",
"i686-pc-windows-msvc-0.11.1":
"0a3931aee2ce36a9604109b9edb0e02e2a07401957fa2da125f4fa2199a836de",
"i686-unknown-linux-gnu-0.11.1":
"15bef7202e0f82b8cb6dd9eaa3101e090ee1067d379c249d447337eb016bba2d",
"i686-unknown-linux-musl-0.11.1":
"f7c69e12e319b6b9a89ce4533d3a0aa35b6006d40eba1cfd79dc19cf44002373",
"powerpc64-unknown-linux-gnu-0.11.1":
"8bfa85a3f3b0e127c8141e7cddd7f6b0cf5fa2935afb34236ee8c2e2b7d5201d",
"powerpc64le-unknown-linux-gnu-0.11.1":
"0a4b4724d97e820d74a036e984b92a4027e506723d4ac6adacd3d6bcbc97d586",
"s390x-unknown-linux-gnu-0.11.1":
"a31163314be04affd81186d052087333f71744c38d7142e7169c2cf92f2c3ebb",
"x86_64-apple-darwin-0.11.1":
"db8cb26297357754b034c043b600f648162ca3b4c3d6b80aab36fac9b30be21e",
"x86_64-pc-windows-msvc-0.11.1":
"ea0371400228fcccd81c4d6884caa4c80d694cf73a20b6e9a685b0fac76c2455",
"x86_64-unknown-linux-gnu-0.11.1":
"2eb2238227e232a7b6e2da71586e8d7999782a0b2d9ddab7d3a6354a13d2589c",
"x86_64-unknown-linux-musl-0.11.1":
"a57ab099cdada4265eb7558f63c724799121daf542e1103ab95f1be86f5d70a5",
"aarch64-apple-darwin-0.11.0":
"09ea313f2aab3844432b46c6c5e3e066b26ae4953f4bac1e545176e5dea22306",
"aarch64-pc-windows-msvc-0.11.0":
"49c1a9f99aa0e606d66960be12bb21e40da190e4798a18df0bf361c99dc644ad",
"aarch64-unknown-linux-gnu-0.11.0":
"e4e69fe47ad319aeef0983e26e927907d7521214a7d72c79cf2e2b15316ecfa5",
"aarch64-unknown-linux-musl-0.11.0":
"60904d6d51b1a8dd49ab948dd1de33ce439ca872c82faa5dab90fce838539317",
"arm-unknown-linux-musleabihf-0.11.0":
"0320e9cf0684cb7bc4ba38030fc4dc55d2bc6f373c182b13b5874cf43130e749",
"armv7-unknown-linux-gnueabihf-0.11.0":
"c04a60e29efcaa554e7c56bdf4eb8ca472fa77fde3b59e100c25b903a518f32b",
"armv7-unknown-linux-musleabihf-0.11.0":
"85f4aaf213fd8ffdf259eb1e43a775d093c8ac106188cc6baae036317f4510ac",
"i686-pc-windows-msvc-0.11.0":
"92c1b065f33dcd88efa08fb374a81d9687430faee11c18f7d3dea12ad88ee163",
"i686-unknown-linux-gnu-0.11.0":
"f61a226452f6b6b68faafacf0ded2ff9d53a7c6a48dcb7b87b4012dca46303ad",
"i686-unknown-linux-musl-0.11.0":
"3046960555a10daf0d86fe976283391c97200669b5c840e387a607a378f1ca6c",
"powerpc64-unknown-linux-gnu-0.11.0":
"c8aff47b5b2492a889d9c5f04b3d16d4b5787d11d728dd4f390bc76debcf35db",
"powerpc64le-unknown-linux-gnu-0.11.0":
"4dd6f67ef8c993c3467a7fa1253159a98e26c28321ec5fcaaa46bbd8baf2b40e",
"s390x-unknown-linux-gnu-0.11.0":
"411dfebaf45c3f119c11f2d1ecbec7874062b75baff0ec9ea3a20dcd02477a8c",
"x86_64-apple-darwin-0.11.0":
"a208dee9c1a7a063dace746836fd2d7e5f7694d2142700d3964fccf141ada555",
"x86_64-pc-windows-msvc-0.11.0":
"92e87a04f5750312a5454610633f6af91485578cc1dd944b4692d2fb5f6188dc",
"x86_64-unknown-linux-gnu-0.11.0":
"ad61c55a3b361e4f451e90247d6ca6018c2563f41c5142c1f8388138bdac96b3",
"x86_64-unknown-linux-musl-0.11.0":
"3148cd8131ec4f525551b16a57186f5533c705950269cbee7674d484ca6eefe5",
"aarch64-apple-darwin-0.10.0":
"1da279b8302cd86f50d38fc8ad62cd12f4d07c0c402c13a3bac7dc244c7db138",
"aarch64-pc-windows-msvc-0.10.0":
"e40d9d7efe47fcd1a5ffc2314ea45076d71cf83638550c5b95f9ecfff3cbac2b",
"aarch64-unknown-linux-gnu-0.10.0":
"c5fefbb03f7e885063f311d532494b0702dd72689c62ef62cc0c803a27acd50a",
"aarch64-unknown-linux-musl-0.10.0":
"7b9fe2e2cecde897fb35a1a0bb1ccd10dde3395acd81aea7e5e6b0b24824e7c7",
"arm-unknown-linux-musleabihf-0.10.0":
"194358d10125ab02e1bbe163664f3d45133f1cd2c0d536c7f4f89c54cb13c525",
"armv7-unknown-linux-gnueabihf-0.10.0":
"d4a12c8710386d2dbe1b0c77651b49eb26650712462cbef24c6b56752271b5a4",
"armv7-unknown-linux-musleabihf-0.10.0":
"333d6b0e1ff9d2114a1acc8d28fabc911e0c911d055a36b6d072428cac003a0c",
"i686-pc-windows-msvc-0.10.0":
"81477cb2152d195cfa7181773d8a7c32fd9bd2f9292e8e8ce7848fdd2d7bebb8",
"i686-unknown-linux-gnu-0.10.0":
"ba25c96731474aee9533b706ca89467f79469c0cb4599a799bb0122373c984cb",
"i686-unknown-linux-musl-0.10.0":
"f0ae870fc0aa8f77da3fc5d39489c46a7f1fb0c504bbd700729ce54bb0804e4e",
"powerpc64-unknown-linux-gnu-0.10.0":
"41db344c0740af4cd38fa3c332abe0aebe2d98c8e1d18a5fe4f9316cae39f61a",
"powerpc64le-unknown-linux-gnu-0.10.0":
"6d15f4fded4493744def7b44f0ebfb49567830a77d7f49b21f9710f2d34f461f",
"s390x-unknown-linux-gnu-0.10.0":
"6b28f1d1e6608205fe5f8b403fe5e3a4276dc0d3030215a7d6107495977f1b53",
"x86_64-apple-darwin-0.10.0":
"2388af7881c7e50026388e953fa6eab7c1ae94c868926a6185c3cb38f9f15aa2",
"x86_64-pc-windows-msvc-0.10.0":
"f97160653dc9f9dde5cdbe8b24a53cb93a43e54ee30da6b995cf667c2e599ff2",
"x86_64-unknown-linux-gnu-0.10.0":
"fd14f35039302d96e7cb810350627239f122c2f4334580a28a9f5f9486b2c7c4",
"x86_64-unknown-linux-musl-0.10.0":
"5e949f667a1dd76ab4382ba713fed3390ddc6088147ba0eb70fd8aa2ec564751",
"aarch64-apple-darwin-0.9.10":
"1fccbd53431eaa596f2322494edbdc444f99db651566188fa0a9820c26bbef77",
"aarch64-pc-windows-msvc-0.9.10":
"3e89dd753090ae81947e8e2ddb88cf0475c931041d92afb95654ade5af54d7f7",
"aarch64-unknown-linux-gnu-0.9.10":
"95932bcc42d2692e9bb14055fdd76a7ca6d3750d447ef1b1ef0db074024f92b7",
"aarch64-unknown-linux-musl-0.9.10":
"c131df77457ed45aa44b617194563ceea2e29e595c42d06804e04155529423b4",
"arm-unknown-linux-musleabihf-0.9.10":
"bcb333ff3aa7600bbeee4231e75936d3eca60fb5c4c097c017b3b83756a9d2af",
"armv7-unknown-linux-gnueabihf-0.9.10":
"3daf5c538959917b5fbb83bd06f56b61c3495d92c8fe8dd973779cf6500c922c",
"armv7-unknown-linux-musleabihf-0.9.10":
"0768244bb055459e392c62a98ab0af3cec47dd126e6c504aa322ac6c5cb0f891",
"i686-pc-windows-msvc-0.9.10":
"a4ebfb2e8521e01dcd4ac4ca554b29e24157eb042c2a93662c7107bbb92d90ed",
"i686-unknown-linux-gnu-0.9.10":
"a931b4eda4499872d3f7b4b7d4f92e687bf5526f0e14164c9ebea046c4c44ef0",
"i686-unknown-linux-musl-0.9.10":
"86b53473143154ff56f186c5ff59cdda85f4947f90156bcbc7c0a2bcc322ca09",
"powerpc64-unknown-linux-gnu-0.9.10":
"08402302e254aece133dc7205fb225a11a8fba62dcfc5d84a9a54dda8036951c",
"powerpc64le-unknown-linux-gnu-0.9.10":
"db6b48fa692d54da27c8434079ce87e0dc794be34516c1fe8ada835c62a00b7e",
"s390x-unknown-linux-gnu-0.9.10":
"00a0b73e3a26355e8d9ac575cb39c7cc64993f020cdceadce03b5814f1edf3b6",
"x86_64-apple-darwin-0.9.10":
"1e5080489fdf483e7111bb1575f045ec13da2fdbfc6ac5fd58b5d55cf9cd7668",
"x86_64-pc-windows-msvc-0.9.10":
"f1e75b080ea1c83737d0ada30a1338ba87d7792ce1dadd67daade720b539f8f7",
"x86_64-unknown-linux-gnu-0.9.10":
"1612de28c132b9605da220014177c5c9963f3ed3db203951f22968306f183f97",
"x86_64-unknown-linux-musl-0.9.10":
"15e93ee078beb5ec24d1afb02a1cce2a873ac627d378c987adda4f6ab3b5f886",
"aarch64-apple-darwin-0.9.9":
"b4fc98b638b903e7d5aa6ac245c955077e672b6b2072b9a5249c15ff0a9052de",
"aarch64-pc-windows-msvc-0.9.9":
"48ef6bde8d31c3e959e2ced28d033c948dfdf7bc06578865d404987be88c89af",
"aarch64-unknown-linux-gnu-0.9.9":
"34b4ea311560d5e7f80597eaf3dede9ded194dffe131d7fee8841904792a644c",
"aarch64-unknown-linux-musl-0.9.9":
"df49a2ab1b62b6992aaeebdf590751f9c6536eefa3d149a1e6dd454b7d3b5681",
"arm-unknown-linux-musleabihf-0.9.9":
"c081bbd7268f65e77e91596556ac4c81506dd8fe09c50a6791fdce1be8ae4e5d",
"armv7-unknown-linux-gnueabihf-0.9.9":
"11c98f90103a409b55afac3534a0396e38a055bfa09e45b774a298a6107899f1",
"armv7-unknown-linux-musleabihf-0.9.9":
"1340a24f74782c95cc78b66434ead244a38e60d2a4f07b0954b5029272566794",
"i686-pc-windows-msvc-0.9.9":
"4c0355a6c9ec92d89c8802aabd84a7e0fcf27794befc51a1c7a58bec2b70e5fd",
"i686-unknown-linux-gnu-0.9.9":
"d9648994937c8e24376b1e300b56edd2b45266bab42ec400cf7090bfbefe0927",
"i686-unknown-linux-musl-0.9.9":
"8e11ac8533c438003be1df417397e3467cc51675f579d7b906b46339ab43530f",
"powerpc64-unknown-linux-gnu-0.9.9":
"5e6a6039646e2bdc32b254a0feb6842bfa9c0a9c9d3301de6996720278e9550f",
"powerpc64le-unknown-linux-gnu-0.9.9":
"38b40dd824bc32c97ad250a2108debfd0aa0cf30ad011702b8fb96da476b7d7a",
"s390x-unknown-linux-gnu-0.9.9":
"3d06a0c49b4c287769538033fc2be0b0b7eeb74d5b36344c272fb31d37718271",
"x86_64-apple-darwin-0.9.9":
"518e891bc5f4af795fe9a49f00bc9db9b8258e0d73d452eee8ada15471a2ce95",
"x86_64-pc-windows-msvc-0.9.9":
"13ccd981a38af7011844f8125210007aef026ad59348db9944a083d6081e660d",
"x86_64-unknown-linux-gnu-0.9.9":
"49592925719ee59a7e6675a95dc20e76c0b921b498500a54b1cce3c314fdf794",
"x86_64-unknown-linux-musl-0.9.9":
"a29c014960f68045fd5e52df20889be801ad92eda0961c4aede191a6d01dbee9",
"aarch64-apple-darwin-0.9.8":
"5ea25e5c3b6c825a9b860fe0162ef8dd248c31bf00d63a107a38ef7318988c80",
"aarch64-pc-windows-msvc-0.9.8":
"6b14e0a3a3d5e783ddc1e3dbecbb3552c0b302a096af88e7b57323bb6d88975e",
"aarch64-unknown-linux-gnu-0.9.8":
"82dd223919efd3f0a46b1eb5b7bba17bbf86b408c8fca203f49eb920888dcada",
"aarch64-unknown-linux-musl-0.9.8":
"6a86bdbbfd9c43cde7a15f0a1ef5ad8ec3b21e319ae178caa3b384bada3a20fb",
"arm-unknown-linux-musleabihf-0.9.8":
"2e7bcd94f0aaccd418d5d8425fbfef37270aa6605d2072350570eb9e7082e804",
"armv7-unknown-linux-gnueabihf-0.9.8":
"3036c3b6ce3b1ccfc5aaa98a55649a4c4347fde171b519ad8f41ba5944bbf789",
"armv7-unknown-linux-musleabihf-0.9.8":
"7cccfd2855f07e7038880b68a35efcf3c2c35f7bce6b097e340399510d89877e",
"i686-pc-windows-msvc-0.9.8":
"3f5ab787bb2e39ce582675af5ab600f4e08a4f65c44e34e7b840cf6a231bd43a",
"i686-unknown-linux-gnu-0.9.8":
"461ed20d81247e59cec7b132180355a4ed238bb096f3e743b101e0e9cd982715",
"i686-unknown-linux-musl-0.9.8":
"5fc3e649929fccf8be516a347b6ea67e2102760c36d95562c8839025087bc08d",
"powerpc64-unknown-linux-gnu-0.9.8":
"d584cbb844cca74754382fa4330ff66a2e26ae072b2fa84c965526120bed8469",
"powerpc64le-unknown-linux-gnu-0.9.8":
"67812e8647ff88304a92f724fe84a39c78da77f596e870bbcddc63c470a05f46",
"s390x-unknown-linux-gnu-0.9.8":
"b91f9111104a5fafaec6581cdbbb658bc8c7411c45945887e66c6b658a419f3f",
"x86_64-apple-darwin-0.9.8":
"88fc6143eaa9a6ab247163ad9cba167a8384d80d2260b2a9dee1fd3c87ca7d52",
"x86_64-pc-windows-msvc-0.9.8":
"7144401f70fe7410a771537cf2bc6e50a82cf95a2f51c611397ed4eccb777409",
"x86_64-unknown-linux-gnu-0.9.8":
"905172846650475d4e163b6eb34dac4660e4f10d7ed886846390865e49e7e6c0",
"x86_64-unknown-linux-musl-0.9.8":
"dc24ad1fd3af5c3ee9101d3bc5f04b648f3037dd206ffee7088f52ca5fa4c10e",
"aarch64-apple-darwin-0.9.7":
"f14437e71399e14302bdf5ce910e3df9abc9a223fe0ff5d6b02eb083c39fa30b",
"aarch64-pc-windows-msvc-0.9.7":
"724a1d87421e125759e9b7dbab16a4d1034892ce4180aaaf61e3ebbe7e67afa2",
"aarch64-unknown-linux-gnu-0.9.7":
"95d2a031a3de3ea5ce99febcbb6891781ebb430213115c1f729578db83109416",
"aarch64-unknown-linux-musl-0.9.7":
"b94ad94bc0cf14a12a725fcf2383ed047b537068f4b33bf0815e8baf35e6ec5c",
"arm-unknown-linux-musleabihf-0.9.7":
"ded01d55a349302b0b47deceb144886b7a3767f71d717fc78bb94f1aed1f4e24",
"armv7-unknown-linux-gnueabihf-0.9.7":
"6cc563095f798a67bfe55a7ce1e652b238a5c09aaa543427ce7562cbbe482dea",
"armv7-unknown-linux-musleabihf-0.9.7":
"688a0baae40a5da8489a7c581b7118ff79dc33e862aac3f032e400e8515e6d45",
"i686-pc-windows-msvc-0.9.7":
"72e941fd8177a8cf9f4b9a56e8c8a8262440b98b69b415062c06709cdb4d9361",
"i686-unknown-linux-gnu-0.9.7":
"4c0141f1b7c5e68b1f195097ed7993b12c2d593fcbf650196e0e50f8de8fe282",
"i686-unknown-linux-musl-0.9.7":
"407310c90618470d5f76b1761040d1a0bc0c3b4d65d8999fcad89ad7e622e0be",
"powerpc64-unknown-linux-gnu-0.9.7":
"f304a482ef6cb78909d38dc4fde20027ac4a9cbdbe37b007bd48d2f95b11059d",
"powerpc64le-unknown-linux-gnu-0.9.7":
"8d9a4807f84f0b5520d8c1606d0b2bb8eb85adb496329d2f88699e41b0f098b6",
"s390x-unknown-linux-gnu-0.9.7":
"153ac343084d6b5f6605b49c1800aabee9dea02f5c6f9110967e8dcc05b6a36c",
"x86_64-apple-darwin-0.9.7":
"2a0fd12cd66d20a882ca970159ef361d5f397b938a5ab9d7619dec0f15152f53",
"x86_64-pc-windows-msvc-0.9.7":
"236c69ed510a3302f40b5e0ec1cde0cc7535146cd37658e6d3168c85e94e308a",
"x86_64-unknown-linux-gnu-0.9.7":
"902f9ed51f13ed04eb3dc855af99d70e682846c538521a1b2c1b04c170bb5a7d",
"x86_64-unknown-linux-musl-0.9.7":
"f0b7c7a5ae446730ac111904a504cb96789cc1c82b9966b55bedd88a6d3ec077",
"aarch64-apple-darwin-0.9.6":
"a3132eb5e3d95f36d378144082276fbed0309789dadb19d8a4c41ec5e80451fb",
"aarch64-pc-windows-msvc-0.9.6":
"7c397ec18e458c7a7e49277d7d719b0b6bf2f459f570e01a9f1d1906d678190e",
"aarch64-unknown-linux-gnu-0.9.6":
"cf796c953def5a7102002372893942fac875ac718355698a4a70405104dfbb6c",
"aarch64-unknown-linux-musl-0.9.6":
"8f64e97deae1c12f659fd13e6e14d78cf15ed876d1548ac76b235f78ab5803e1",
"arm-unknown-linux-musleabihf-0.9.6":
"ec72087fa80aff95871aac0f8aa8ca708a82c6789641ac8362fb58212cfc5410",
"armv7-unknown-linux-gnueabihf-0.9.6":
"fba48ab2b77a358c2600d5636759ed779b29bebcc8de66e331c00d7704c41d1c",
"armv7-unknown-linux-musleabihf-0.9.6":
"4944aafeab7ce9cb5a000bdaf71e38a917b506574f859d333bd4698efd5fd3bc",
"i686-pc-windows-msvc-0.9.6":
"05c50165f1330d797de444d99c1c9230dcb2377c2a7ff9b9f8718dc5617c1d4b",
"i686-unknown-linux-gnu-0.9.6":
"508a2f35904b986bf7cf7e2a73d138b1ca590daf4ee562c4630c60aa5ba39922",
"i686-unknown-linux-musl-0.9.6":
"16acf21b61fa006b5642443bba4c52e84d2ce2b15cba1f616a856956c5a2ea49",
"powerpc64-unknown-linux-gnu-0.9.6":
"1309f5489bccfb99084f9686ec20ca1295d7aa976a2c3e6dbeb822564269cbfb",
"powerpc64le-unknown-linux-gnu-0.9.6":
"ff0e02c901869fef9c7434be347959ddca64f585a089ac6485592c91c279c803",
"s390x-unknown-linux-gnu-0.9.6":
"c5ce85e5913c2d34d3332452e01c12e28a45c15ff33c8e8d30572070979230ba",
"x86_64-apple-darwin-0.9.6":
"ec88c095036b25e95391ea202fcc9496d565f4e43152db10785eb9757ea0815d",
"x86_64-pc-windows-msvc-0.9.6":
"51f492e46d967c6a3bb63d5e245e8f454ccf6f5207b6f3c4f1b63a8bec30d954",
"x86_64-unknown-linux-gnu-0.9.6":
"bed850f15d4d5aaaef2b6a131bfecd5b9d7d3191596249d07e576bd9fd37078e",
"x86_64-unknown-linux-musl-0.9.6":
"c725f57aa11d636f1d7f0f378c604d4db29c4dbb5ff0578f9fbbc578364875df",
"aarch64-apple-darwin-0.9.5":
"8c9ae3e71317b67f46752a239f8d1044c60ba9d1748d3146af6ed26679eb697f",
"aarch64-pc-windows-msvc-0.9.5":
"75882eebde374c8f6016f3501c4a769ec1d13cb07798de77187542f9928eba44",
"aarch64-unknown-linux-gnu-0.9.5":
"e637a06d4b8b9f5cced6ad6f1f0a6ec5c1f632db7a3413cac76b61e670409afa",
"aarch64-unknown-linux-musl-0.9.5":
"3c5085b2b410ac9449c72d659ac9812eb75cf2619253e53915507a7fec5267f0",
"arm-unknown-linux-musleabihf-0.9.5":
"d92bd2ca743d7e5cad0c63597f05c5e97f92940e8fe2e9f388185e7c5ebedd31",
"armv7-unknown-linux-gnueabihf-0.9.5":
"61cef37c13e16eb3ac06c46e9d80a8da21a08882d3bd9171a3aaa17f770c23aa",
"armv7-unknown-linux-musleabihf-0.9.5":
"167fc22a232f37d77f1bcb580ebe26f13b57130d656c5970ceadc7f356dcbe5a",
"i686-pc-windows-msvc-0.9.5":
"6ea88e4aab7c4bc3e8c6f580b814d3a5aa05795e10c9b01e467ecfa8fdc58823",
"i686-unknown-linux-gnu-0.9.5":
"3ba63fab8cb42b689543eb560e3301dff320f01f24603cc09552b644266a081d",
"i686-unknown-linux-musl-0.9.5":
"307a970b43dfaa419d2baf340555a3ee78eaa65d940797a6d469ee10da3581a6",
"powerpc64-unknown-linux-gnu-0.9.5":
"9b64bc415661b503b0ae6716bd8203cbf54342c60a8d75ceed5a0b7c48a5a038",
"powerpc64le-unknown-linux-gnu-0.9.5":
"8faeaec0843bf19de8a6e64289ce1dcb4205c82b4a4d189e121137b194c15a5b",
"s390x-unknown-linux-gnu-0.9.5":
"b0506369986af415dde8568d5433f9bc801bed310162221677a6ba076d30f26f",
"x86_64-apple-darwin-0.9.5":
"4b141507ddadaa524af4ca19eff0fe7fe7a50c45e61e217ff6721a6be9796634",
"x86_64-pc-windows-msvc-0.9.5":
"48d096bc53e4c0d7434965c6b4bff911e53250cf8da8866a95b85ed4107259bf",
"x86_64-unknown-linux-gnu-0.9.5":
"88ac7931cffa4e247e465b2aa4ed890af7a134e18a422f5f79041a792aa1559b",
"x86_64-unknown-linux-musl-0.9.5":
"ef73516d8b7b284cd1a6b8ae33cad373516c29ce3e0eb82744d73def5e516832",
"aarch64-apple-darwin-0.9.4":
"48927361be76a93dbded0555d374af3172fc4010b54d97347957f6ab509d7e33",
"aarch64-pc-windows-msvc-0.9.4":
"3c14b5fcfae80d22532f895fec0c84dbc9c387a766368b460c3c96aa62b83562",
"aarch64-unknown-linux-gnu-0.9.4":
"b165463041685c958a978f0f4e78fb4afd9aa7729508c4eeaee703b0411bd6fe",
"aarch64-unknown-linux-musl-0.9.4":
"a9e880d819f290fc602768d25065c1316401229d04f0efaa7440017459968b11",
"arm-unknown-linux-musleabihf-0.9.4":
"0f1d4df0f31f9d874e59668d648126c6bbc796a22c65127dd2a4759de02879f7",
"armv7-unknown-linux-gnueabihf-0.9.4":
"cb8e19d7ad75c7eb136e2b3ae47d576d9f57c86a6e005b84db2da4cdd2d5f3e5",
"armv7-unknown-linux-musleabihf-0.9.4":
"4f2c10151af528935d56ad216125feef7cff4784619f6d62ea749ce037793285",
"i686-pc-windows-msvc-0.9.4":
"dae8a08a794ba0716cd4d48a84a3605f5049cef1a70381906b7ec9731915478a",
"i686-unknown-linux-gnu-0.9.4":
"2aaa7c5d8d6735e09121a9a4d20161cf9c6f6b9ada0aa433c71c33d2ecd22318",
"i686-unknown-linux-musl-0.9.4":
"b1c8d20e12ed41abc38e46f66b397ea6bdcdd59ecae801e81e93eaa239c9f53c",
"powerpc64-unknown-linux-gnu-0.9.4":
"e8a89325ae24e42d0c73780bdf448f25871d3657e9df31aa9547e8c2720e45b9",
"powerpc64le-unknown-linux-gnu-0.9.4":
"f361098f627e1f920b855bd2e709f420c5f107619f8c8533347ae6ad3e43128d",
"s390x-unknown-linux-gnu-0.9.4":
"a2b38dd0babe9af97977e49db895a8ee89bd3ea54d27e28e47d5c7e0f93a32c2",
"x86_64-apple-darwin-0.9.4":
"7abe5ec80ae556fcf445be65825a340df32a8404a28332a988cb97dc65fe60c4",
"x86_64-pc-windows-msvc-0.9.4":
"45f4b700e864520fdc051b0631df4f07a2f65bcdf51fc01ee07769fd8257d092",
"x86_64-unknown-linux-gnu-0.9.4":
"c55b088472c2c6a030bf29f414c6e38028145a32b3c3da2036347f0fc9de6360",
"x86_64-unknown-linux-musl-0.9.4":
"c49af645ed618e660c64cd253892039ff30645e1f1563bc7842918f7cd74d596",
"aarch64-apple-darwin-0.9.3": "aarch64-apple-darwin-0.9.3":
"4dccd7ca0def1bdf45acac18cf5f1d1cda0cfd6b039a6db1e87a93fdd10ed530", "4dccd7ca0def1bdf45acac18cf5f1d1cda0cfd6b039a6db1e87a93fdd10ed530",
"aarch64-pc-windows-msvc-0.9.3": "aarch64-pc-windows-msvc-0.9.3":
+80 -15
View File
@@ -2,6 +2,8 @@ import * as core from "@actions/core";
import * as tc from "@actions/tool-cache"; import * as tc from "@actions/tool-cache";
import * as path from "node:path"; import * as path from "node:path";
import { promises as fs } from "node:fs"; import { promises as fs } from "node:fs";
import * as semver from "semver";
import * as pep440 from "@renovatebot/pep440";
import { OWNER, REPO, TOOL_CACHE_NAME } from "../utils/constants"; import { OWNER, REPO, TOOL_CACHE_NAME } from "../utils/constants";
import type { Architecture, Platform } from "../utils/platforms"; import type { Architecture, Platform } from "../utils/platforms";
import { validateChecksum } from "./checksum/checksum"; import { validateChecksum } from "./checksum/checksum";
@@ -38,28 +40,27 @@ export async function downloadVersion(
if (platform === "pc-windows-msvc") { if (platform === "pc-windows-msvc") {
extension = ".zip"; extension = ".zip";
} }
const downloadUrl = `https://github.com/${OWNER}/${REPO}/releases/download/${version}/${artifact}${extension}`; const downloadUrl = constructDownloadUrl(version, platform, arch);
core.info(`Downloading ruff from "${downloadUrl}" ...`); core.debug(`Downloading ruff from "${downloadUrl}" ...`);
const downloadPath = await tc.downloadTool( const downloadPath = await tc.downloadTool(
downloadUrl, downloadUrl,
undefined, undefined,
githubToken, githubToken,
); );
core.debug(`Downloaded ruff to "${downloadPath}"`);
await validateChecksum(checkSum, downloadPath, arch, platform, version); await validateChecksum(checkSum, downloadPath, arch, platform, version);
let ruffDir: string; const extractedDir = await extractDownloadedArtifact(
if (platform === "pc-windows-msvc") { version,
const fullPathWithExtension = `${downloadPath}${extension}`; downloadPath,
await fs.copyFile(downloadPath, fullPathWithExtension); extension,
ruffDir = await tc.extractZip(fullPathWithExtension); platform,
// On windows extracting the zip does not create an intermediate directory artifact,
} else { );
const extractedDir = await tc.extractTar(downloadPath);
ruffDir = path.join(extractedDir, artifact);
}
const cachedToolDir = await tc.cacheDir( const cachedToolDir = await tc.cacheDir(
ruffDir, extractedDir,
TOOL_CACHE_NAME, TOOL_CACHE_NAME,
version, version,
arch, arch,
@@ -67,10 +68,54 @@ export async function downloadVersion(
return { version: version, cachedToolDir }; return { version: version, cachedToolDir };
} }
function constructDownloadUrl(
version: string,
platform: Platform,
arch: Architecture,
): string {
const artifactVersionSuffix =
semver.lte(version, "v0.4.10") && semver.gte(version, "v0.1.8")
? `-${version}`
: "";
const artifact = `ruff${artifactVersionSuffix}-${arch}-${platform}`;
let extension = ".tar.gz";
if (platform === "pc-windows-msvc") {
extension = ".zip";
}
const versionPrefix = semver.lte(version, "v0.4.10") ? "v" : "";
return `https://github.com/${OWNER}/${REPO}/releases/download/${versionPrefix}${version}/${artifact}${extension}`;
}
async function extractDownloadedArtifact(
version: string,
downloadPath: string,
extension: string,
platform: Platform,
artifact: string,
): Promise<string> {
let ruffDir: string;
if (platform === "pc-windows-msvc") {
const fullPathWithExtension = `${downloadPath}${extension}`;
await fs.copyFile(downloadPath, fullPathWithExtension);
ruffDir = await tc.extractZip(fullPathWithExtension);
// On windows extracting the zip does not create an intermediate directory
} else {
ruffDir = await tc.extractTar(downloadPath);
if (semver.gte(version, "v0.5.0")) {
// Since v0.5.0 an intermediate directory is created
ruffDir = path.join(ruffDir, artifact);
}
}
const files = await fs.readdir(ruffDir);
core.debug(`Contents of ${ruffDir}: ${files.join(", ")}`);
return ruffDir;
}
export async function resolveVersion( export async function resolveVersion(
versionInput: string, versionInput: string,
githubToken: string, githubToken: string,
): Promise<string> { ): Promise<string> {
core.debug(`Resolving ${versionInput}...`);
const version = const version =
versionInput === "latest" versionInput === "latest"
? await getLatestVersion(githubToken) ? await getLatestVersion(githubToken)
@@ -80,10 +125,11 @@ export async function resolveVersion(
return version; return version;
} }
const availableVersions = await getAvailableVersions(githubToken); const availableVersions = await getAvailableVersions(githubToken);
const resolvedVersion = tc.evaluateVersions(availableVersions, version); const resolvedVersion = maxSatisfying(availableVersions, version);
if (resolvedVersion === "") { if (resolvedVersion === undefined) {
throw new Error(`No version found for ${version}`); throw new Error(`No version found for ${version}`);
} }
core.debug(`Resolved version: ${resolvedVersion}`);
return resolvedVersion; return resolvedVersion;
} }
@@ -150,3 +196,22 @@ async function getLatestRelease(
}); });
return latestRelease; return latestRelease;
} }
function maxSatisfying(
versions: string[],
version: string,
): string | undefined {
const maxSemver = tc.evaluateVersions(versions, version);
if (maxSemver !== "") {
core.debug(`Found a version that satisfies the semver range: ${maxSemver}`);
return maxSemver;
}
const maxPep440 = pep440.maxSatisfying(versions, version);
if (maxPep440 !== null) {
core.debug(
`Found a version that satisfies the pep440 specifier: ${maxPep440}`,
);
return maxPep440;
}
return undefined;
}
+19 -5
View File
@@ -21,8 +21,9 @@ import {
version, version,
versionFile as versionFileInput, versionFile as versionFileInput,
} from "./utils/inputs"; } from "./utils/inputs";
import { getRuffVersionFromPyproject } from "./utils/pyproject"; import { getRuffVersionFromRequirementsFile } from "./utils/pyproject";
import * as fs from "node:fs"; import * as fs from "node:fs";
import * as semver from "semver";
async function run(): Promise<void> { async function run(): Promise<void> {
const platform = getPlatform(); const platform = getPlatform();
@@ -62,6 +63,11 @@ async function setupRuff(
githubToken: string, githubToken: string,
): Promise<{ ruffDir: string; version: string }> { ): Promise<{ ruffDir: string; version: string }> {
const resolvedVersion = await determineVersion(); const resolvedVersion = await determineVersion();
if (semver.lt(resolvedVersion, "v0.0.247")) {
throw Error(
"This action does not support ruff versions older than 0.0.247",
);
}
const toolCacheResult = tryGetFromToolCache(arch, resolvedVersion); const toolCacheResult = tryGetFromToolCache(arch, resolvedVersion);
if (toolCacheResult.installedPath) { if (toolCacheResult.installedPath) {
core.info(`Found ruffDir in tool-cache for ${toolCacheResult.version}`); core.info(`Found ruffDir in tool-cache for ${toolCacheResult.version}`);
@@ -93,19 +99,27 @@ async function determineVersion(): Promise<string> {
return await resolveVersion(version, githubToken); return await resolveVersion(version, githubToken);
} }
if (versionFileInput !== "") { if (versionFileInput !== "") {
const versionFromPyproject = getRuffVersionFromPyproject(versionFileInput); const versionFromPyproject =
getRuffVersionFromRequirementsFile(versionFileInput);
if (versionFromPyproject === undefined) { if (versionFromPyproject === undefined) {
core.warning( core.warning(
"Could not parse version from supplied pyproject.toml. Using latest version.", `Could not parse version from ${versionFileInput}. Using latest version.`,
); );
return await resolveVersion("latest", githubToken);
} }
return await resolveVersion(versionFromPyproject || "latest", githubToken);
} }
const pyProjectPath = path.join(src, "pyproject.toml"); const pyProjectPath = path.join(src, "pyproject.toml");
if (!fs.existsSync(pyProjectPath)) { if (!fs.existsSync(pyProjectPath)) {
core.info(`Could not find ${pyProjectPath}. Using latest version.`);
return await resolveVersion("latest", githubToken); return await resolveVersion("latest", githubToken);
} }
const versionFromPyproject = getRuffVersionFromPyproject(pyProjectPath); const versionFromPyproject =
getRuffVersionFromRequirementsFile(pyProjectPath);
if (versionFromPyproject === undefined) {
core.warning(
`Could not parse version from ${pyProjectPath}. Using latest version.`,
);
}
return await resolveVersion(versionFromPyproject || "latest", githubToken); return await resolveVersion(versionFromPyproject || "latest", githubToken);
} }
+73 -38
View File
@@ -2,45 +2,9 @@ import * as fs from "node:fs";
import * as core from "@actions/core"; import * as core from "@actions/core";
import * as toml from "smol-toml"; import * as toml from "smol-toml";
export function getRuffVersionFromPyproject( function getRuffVersionFromAllDependencies(
filePath: string, allDependencies: string[],
): string | undefined { ): string | undefined {
if (!fs.existsSync(filePath)) {
core.warning(`Could not find file: ${filePath}`);
return undefined;
}
const pyprojectContent = fs.readFileSync(filePath, "utf-8");
let pyproject:
| {
project?: {
dependencies?: string[];
"optional-dependencies"?: Map<string, string[]>;
};
"dependency-groups"?: Map<string, Array<string | object>>;
}
| undefined;
try {
pyproject = toml.parse(pyprojectContent);
} catch (err) {
const message = (err as Error).message;
core.warning(`Error while parsing ${filePath}: ${message}`);
return undefined;
}
const dependencies: string[] = pyproject?.project?.dependencies || [];
const optionalDependencies: string[] = Object.values(
pyproject?.project?.["optional-dependencies"] || {},
).flat();
const devDependencies: string[] = Object.values(
pyproject?.["dependency-groups"] || {},
)
.flat()
.filter((item: string | object) => typeof item === "string");
const allDependencies: string[] = dependencies.concat(
optionalDependencies,
devDependencies,
);
const ruffVersionDefinition = allDependencies.find((dep: string) => const ruffVersionDefinition = allDependencies.find((dep: string) =>
dep.startsWith("ruff"), dep.startsWith("ruff"),
); );
@@ -58,3 +22,74 @@ export function getRuffVersionFromPyproject(
return undefined; return undefined;
} }
interface Pyproject {
project?: {
dependencies?: string[];
"optional-dependencies"?: Record<string, string[]>;
};
"dependency-groups"?: Record<string, Array<string | object>>;
tool?: {
poetry?: {
dependencies?: Record<string, string | object>;
group?: Record<string, { dependencies: Record<string, string | object> }>;
};
};
}
function parsePyproject(pyprojectContent: string): string | undefined {
const pyproject: Pyproject = toml.parse(pyprojectContent);
const dependencies: string[] = pyproject?.project?.dependencies || [];
const optionalDependencies: string[] = Object.values(
pyproject?.project?.["optional-dependencies"] || {},
).flat();
const devDependencies: string[] = Object.values(
pyproject?.["dependency-groups"] || {},
)
.flat()
.filter((item: string | object) => typeof item === "string");
return (
getRuffVersionFromAllDependencies(
dependencies.concat(optionalDependencies, devDependencies),
) || getRuffVersionFromPoetryGroups(pyproject)
);
}
function getRuffVersionFromPoetryGroups(
pyproject: Pyproject,
): string | undefined {
// Special handling for Poetry until it supports PEP 735
// See: <https://github.com/python-poetry/poetry/issues/9751>
const poetry = pyproject?.tool?.poetry || {};
const poetryGroups = Object.values(poetry.group || {});
if (poetry.dependencies) {
poetryGroups.unshift({ dependencies: poetry.dependencies });
}
return poetryGroups
.flatMap((group) => Object.entries(group.dependencies))
.map(([name, spec]) => {
if (name === "ruff" && typeof spec === "string") return spec;
return undefined;
})
.find((version) => version !== undefined);
}
export function getRuffVersionFromRequirementsFile(
filePath: string,
): string | undefined {
if (!fs.existsSync(filePath)) {
core.warning(`Could not find file: ${filePath}`);
return undefined;
}
const pyprojectContent = fs.readFileSync(filePath, "utf-8");
if (filePath.endsWith(".txt")) {
return getRuffVersionFromAllDependencies(pyprojectContent.split("\n"));
}
try {
return parsePyproject(pyprojectContent);
} catch (err) {
const message = (err as Error).message;
core.warning(`Error while parsing ${filePath}: ${message}`);
return undefined;
}
}