Compare commits

...
16 Commits
Author SHA1 Message Date
Kevin StillhammerandGitHub 57714a7c8a bump biome to 2.1.4 (#201) 2025-08-12 19:53:24 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
f46fd74e35 Bump actions/checkout from 4 to 5 (#197)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to
5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/checkout/releases">actions/checkout's
releases</a>.</em></p>
<blockquote>
<h2>v5.0.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Update actions checkout to use node 24 by <a
href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2226">actions/checkout#2226</a></li>
<li>Prepare v5.0.0 release by <a
href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2238">actions/checkout#2238</a></li>
</ul>
<h2>⚠️ Minimum Compatible Runner Version</h2>
<p><strong>v2.327.1</strong><br />
<a
href="https://github.com/actions/runner/releases/tag/v2.327.1">Release
Notes</a></p>
<p>Make sure your runner is updated to this version or newer to use this
release.</p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v4...v5.0.0">https://github.com/actions/checkout/compare/v4...v5.0.0</a></p>
<h2>v4.3.0</h2>
<h2>What's Changed</h2>
<ul>
<li>docs: update README.md by <a
href="https://github.com/motss"><code>@​motss</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1971">actions/checkout#1971</a></li>
<li>Add internal repos for checking out multiple repositories by <a
href="https://github.com/mouismail"><code>@​mouismail</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1977">actions/checkout#1977</a></li>
<li>Documentation update - add recommended permissions to Readme by <a
href="https://github.com/benwells"><code>@​benwells</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2043">actions/checkout#2043</a></li>
<li>Adjust positioning of user email note and permissions heading by <a
href="https://github.com/joshmgross"><code>@​joshmgross</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2044">actions/checkout#2044</a></li>
<li>Update README.md by <a
href="https://github.com/nebuk89"><code>@​nebuk89</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2194">actions/checkout#2194</a></li>
<li>Update CODEOWNERS for actions by <a
href="https://github.com/TingluoHuang"><code>@​TingluoHuang</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/2224">actions/checkout#2224</a></li>
<li>Update package dependencies by <a
href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2236">actions/checkout#2236</a></li>
<li>Prepare release v4.3.0 by <a
href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2237">actions/checkout#2237</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/motss"><code>@​motss</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/1971">actions/checkout#1971</a></li>
<li><a href="https://github.com/mouismail"><code>@​mouismail</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/1977">actions/checkout#1977</a></li>
<li><a href="https://github.com/benwells"><code>@​benwells</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/2043">actions/checkout#2043</a></li>
<li><a href="https://github.com/nebuk89"><code>@​nebuk89</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/2194">actions/checkout#2194</a></li>
<li><a href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/2236">actions/checkout#2236</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v4...v4.3.0">https://github.com/actions/checkout/compare/v4...v4.3.0</a></p>
<h2>v4.2.2</h2>
<h2>What's Changed</h2>
<ul>
<li><code>url-helper.ts</code> now leverages well-known environment
variables by <a href="https://github.com/jww3"><code>@​jww3</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/1941">actions/checkout#1941</a></li>
<li>Expand unit test coverage for <code>isGhes</code> by <a
href="https://github.com/jww3"><code>@​jww3</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1946">actions/checkout#1946</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v4.2.1...v4.2.2">https://github.com/actions/checkout/compare/v4.2.1...v4.2.2</a></p>
<h2>v4.2.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Check out other refs/* by commit if provided, fall back to ref by <a
href="https://github.com/orhantoy"><code>@​orhantoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1924">actions/checkout#1924</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/Jcambass"><code>@​Jcambass</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/checkout/pull/1919">actions/checkout#1919</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/checkout/compare/v4.2.0...v4.2.1">https://github.com/actions/checkout/compare/v4.2.0...v4.2.1</a></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/actions/checkout/blob/main/CHANGELOG.md">actions/checkout's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>V5.0.0</h2>
<ul>
<li>Update actions checkout to use node 24 by <a
href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2226">actions/checkout#2226</a></li>
</ul>
<h2>V4.3.0</h2>
<ul>
<li>docs: update README.md by <a
href="https://github.com/motss"><code>@​motss</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1971">actions/checkout#1971</a></li>
<li>Add internal repos for checking out multiple repositories by <a
href="https://github.com/mouismail"><code>@​mouismail</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1977">actions/checkout#1977</a></li>
<li>Documentation update - add recommended permissions to Readme by <a
href="https://github.com/benwells"><code>@​benwells</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2043">actions/checkout#2043</a></li>
<li>Adjust positioning of user email note and permissions heading by <a
href="https://github.com/joshmgross"><code>@​joshmgross</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2044">actions/checkout#2044</a></li>
<li>Update README.md by <a
href="https://github.com/nebuk89"><code>@​nebuk89</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2194">actions/checkout#2194</a></li>
<li>Update CODEOWNERS for actions by <a
href="https://github.com/TingluoHuang"><code>@​TingluoHuang</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/2224">actions/checkout#2224</a></li>
<li>Update package dependencies by <a
href="https://github.com/salmanmkc"><code>@​salmanmkc</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/2236">actions/checkout#2236</a></li>
</ul>
<h2>v4.2.2</h2>
<ul>
<li><code>url-helper.ts</code> now leverages well-known environment
variables by <a href="https://github.com/jww3"><code>@​jww3</code></a>
in <a
href="https://redirect.github.com/actions/checkout/pull/1941">actions/checkout#1941</a></li>
<li>Expand unit test coverage for <code>isGhes</code> by <a
href="https://github.com/jww3"><code>@​jww3</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1946">actions/checkout#1946</a></li>
</ul>
<h2>v4.2.1</h2>
<ul>
<li>Check out other refs/* by commit if provided, fall back to ref by <a
href="https://github.com/orhantoy"><code>@​orhantoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1924">actions/checkout#1924</a></li>
</ul>
<h2>v4.2.0</h2>
<ul>
<li>Add Ref and Commit outputs by <a
href="https://github.com/lucacome"><code>@​lucacome</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1180">actions/checkout#1180</a></li>
<li>Dependency updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>- <a
href="https://redirect.github.com/actions/checkout/pull/1777">actions/checkout#1777</a>,
<a
href="https://redirect.github.com/actions/checkout/pull/1872">actions/checkout#1872</a></li>
</ul>
<h2>v4.1.7</h2>
<ul>
<li>Bump the minor-npm-dependencies group across 1 directory with 4
updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1739">actions/checkout#1739</a></li>
<li>Bump actions/checkout from 3 to 4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1697">actions/checkout#1697</a></li>
<li>Check out other refs/* by commit by <a
href="https://github.com/orhantoy"><code>@​orhantoy</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1774">actions/checkout#1774</a></li>
<li>Pin actions/checkout's own workflows to a known, good, stable
version. by <a href="https://github.com/jww3"><code>@​jww3</code></a> in
<a
href="https://redirect.github.com/actions/checkout/pull/1776">actions/checkout#1776</a></li>
</ul>
<h2>v4.1.6</h2>
<ul>
<li>Check platform to set archive extension appropriately by <a
href="https://github.com/cory-miller"><code>@​cory-miller</code></a> in
<a
href="https://redirect.github.com/actions/checkout/pull/1732">actions/checkout#1732</a></li>
</ul>
<h2>v4.1.5</h2>
<ul>
<li>Update NPM dependencies by <a
href="https://github.com/cory-miller"><code>@​cory-miller</code></a> in
<a
href="https://redirect.github.com/actions/checkout/pull/1703">actions/checkout#1703</a></li>
<li>Bump github/codeql-action from 2 to 3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1694">actions/checkout#1694</a></li>
<li>Bump actions/setup-node from 1 to 4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1696">actions/checkout#1696</a></li>
<li>Bump actions/upload-artifact from 2 to 4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1695">actions/checkout#1695</a></li>
<li>README: Suggest <code>user.email</code> to be
<code>41898282+github-actions[bot]@users.noreply.github.com</code> by <a
href="https://github.com/cory-miller"><code>@​cory-miller</code></a> in
<a
href="https://redirect.github.com/actions/checkout/pull/1707">actions/checkout#1707</a></li>
</ul>
<h2>v4.1.4</h2>
<ul>
<li>Disable <code>extensions.worktreeConfig</code> when disabling
<code>sparse-checkout</code> by <a
href="https://github.com/jww3"><code>@​jww3</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1692">actions/checkout#1692</a></li>
<li>Add dependabot config by <a
href="https://github.com/cory-miller"><code>@​cory-miller</code></a> in
<a
href="https://redirect.github.com/actions/checkout/pull/1688">actions/checkout#1688</a></li>
<li>Bump the minor-actions-dependencies group with 2 updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1693">actions/checkout#1693</a></li>
<li>Bump word-wrap from 1.2.3 to 1.2.5 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/checkout/pull/1643">actions/checkout#1643</a></li>
</ul>
<h2>v4.1.3</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/checkout/commit/08c6903cd8c0fde910a37f88322edcfb5dd907a8"><code>08c6903</code></a>
Prepare v5.0.0 release (<a
href="https://redirect.github.com/actions/checkout/issues/2238">#2238</a>)</li>
<li><a
href="https://github.com/actions/checkout/commit/9f265659d3bb64ab1440b03b12f4d47a24320917"><code>9f26565</code></a>
Update actions checkout to use node 24 (<a
href="https://redirect.github.com/actions/checkout/issues/2226">#2226</a>)</li>
<li>See full diff in <a
href="https://github.com/actions/checkout/compare/v4...v5">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=4&new-version=5)](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-08-12 19:23:04 +00:00
Kevin StillhammerandGitHub 6afcb280fd Bump dependencies (#200) 2025-08-12 21:18:51 +02:00
Kevin StillhammerandGitHub 232c1eca56 Improve error messages on GitHub API errors (#199)
Fixes: #198
2025-08-12 19:13:17 +00:00
6b45781b82 chore: update known checksums for 0.12.8 (#190)
chore: update known checksums for 0.12.8

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-08-10 15:32:56 +00:00
a099b88c70 chore: update known checksums for 0.12.5 (#189)
chore: update known checksums for 0.12.5

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-07-25 05:24:40 +00:00
b63c059bc7 chore: update known checksums for 0.12.4 (#185)
chore: update known checksums for 0.12.4

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2025-07-17 18:30:23 +00:00
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
26 changed files with 1145 additions and 351 deletions
+4 -4
View File
@@ -4,12 +4,12 @@
"owner": "ruff-check",
"pattern": [
{
"regexp": "^Error: (.*):(\\d+):(\\d+): (\\w+) (.*)$",
"code": 4,
"column": 3,
"file": 1,
"line": 2,
"column": 3,
"code": 4,
"message": 5
"message": 5,
"regexp": "^Error: (.*):(\\d+):(\\d+): (\\w+) (.*)$"
}
]
}
+2 -2
View File
@@ -4,9 +4,9 @@
"owner": "ruff-format",
"pattern": [
{
"regexp": "^(Would reformat):\\s*(.+)$",
"file": 2,
"message": 1,
"file": 2
"regexp": "^(Would reformat):\\s*(.+)$"
}
]
}
+1 -1
View File
@@ -39,7 +39,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
+42 -27
View File
@@ -14,7 +14,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Actionlint
uses: eifinger/actionlint-action@23c85443d840cd73bbecb9cddfc933cc21649a38 # v1.9.1
- uses: actions/setup-node@v4
@@ -24,12 +24,9 @@ jobs:
npm install
- run: |
npm run all
- name: Transpile scripts
run: |
tsc ./*.ts
working-directory: .github/scripts
- 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
@@ -41,7 +38,7 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, macos-14, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Use latest version
uses: ./
with:
@@ -54,7 +51,7 @@ jobs:
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:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Use version ${{ matrix.ruff-version }}
uses: ./
with:
@@ -63,7 +60,7 @@ jobs:
test-unsupported-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Try install old version
id: install
continue-on-error: true
@@ -79,7 +76,7 @@ jobs:
test-version-from-version-file-pyproject:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Use version from pyproject.toml
id: ruff-action
uses: ./
@@ -96,7 +93,7 @@ jobs:
test-default-version-from-pyproject:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Use default version from pyproject.toml
id: ruff-action
uses: ./
@@ -112,7 +109,7 @@ jobs:
test-default-version-from-pyproject-dev-group:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Use default version from pyproject.toml dev group
id: ruff-action
uses: ./
@@ -129,7 +126,7 @@ jobs:
test-default-version-from-pyproject-dependency-groups:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Use default version from pyproject.toml dependency groups
id: ruff-action
uses: ./
@@ -146,13 +143,13 @@ jobs:
test-default-version-from-pyproject-poetry-groups:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Use default version from pyproject.toml poetry group dependencies
id: ruff-action
uses: ./
with:
src: __tests__/fixtures/pyproject-dependency-poetry-project
version-file: __tests__/fixtures/pyproject-dependency-poetry-project/pyproject.toml
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
@@ -160,10 +157,27 @@ jobs:
fi
env:
RUFF_VERSION: ${{ steps.ruff-action.outputs.ruff-version }}
test-default-version-from-pyproject-poetry:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- 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:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Use default version from pyproject.toml optional dependencies
id: ruff-action
uses: ./
@@ -180,7 +194,7 @@ jobs:
test-default-version-from-requirements:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Use default version from requirements.txt
id: ruff-action
uses: ./
@@ -197,7 +211,7 @@ jobs:
test-semver-range:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Use version 0.7
id: ruff-action
uses: ./
@@ -214,16 +228,16 @@ jobs:
test-pep440-version-specifier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install version 0.11.11
- uses: actions/checkout@v5
- name: Install version 0.9.10
id: ruff-action
uses: ./
with:
version: ">=0.11.10,<0.12.0"
version: ">=0.9.9,<0.10.0"
src: __tests__/fixtures/python-project
- name: Correct version gets installed
run: |
if [ "$RUFF_VERSION" != "0.11.11" ]; then
if [ "$RUFF_VERSION" != "0.9.10" ]; then
exit 1
fi
env:
@@ -238,7 +252,7 @@ jobs:
- os: macos-latest
checksum: "af9583bff12afbca5d5670334e0187dd60c4d91bc71317d1b2dde70cb1200ba9"
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Checksum matches expected
uses: ./
with:
@@ -248,7 +262,7 @@ jobs:
test-with-explicit-token:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Use default version
uses: ./
with:
@@ -260,7 +274,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Use args
uses: ./
with:
@@ -269,7 +283,7 @@ jobs:
test-failure:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Format should fail
id: format-should-fail
continue-on-error: true
@@ -299,7 +313,7 @@ jobs:
matrix:
os: [ ubuntu-latest, windows-latest ]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Use args
uses: ./
with:
@@ -320,6 +334,7 @@ jobs:
- 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
+1 -1
View File
@@ -11,7 +11,7 @@ jobs:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: actions/setup-node@v4
with:
node-version: "20"
@@ -16,7 +16,7 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Update Major Minor Tags
run: |
set -x
+3
View File
@@ -0,0 +1,3 @@
{
"recommendations": ["biomejs.biome"]
}
+16
View File
@@ -0,0 +1,16 @@
{
"editor.codeActionsOnSave": {
"source.action.useSortedAttributes.biome": "explicit",
"source.action.useSortedKeys.biome": "explicit",
"source.fixAll.biome": "explicit"
},
"editor.defaultFormatter": "biomejs.biome",
"editor.formatOnSave": true,
"explorer.excludeGitIgnore": false,
"search.defaultViewMode": "list",
"search.exclude": {
"**/node_modules": true
},
"typescript.enablePromptUseWorkspaceTsdk": true,
"typescript.tsdk": "node_modules/typescript/lib"
}
@@ -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!"
@@ -5,9 +5,9 @@ description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
[tool.poetry.group.dev.dependencies]
[tool.poetry.dependencies]
sphinx = "*"
ruff = "0.8.3"
ruff = "~0.8.2"
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
+26 -13
View File
@@ -1,20 +1,34 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.2/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": false
"$schema": "https://biomejs.dev/schemas/2.1.4/schema.json",
"assist": {
"actions": {
"source": {
"organizeImports": "on",
"useSortedAttributes": "on",
"useSortedKeys": "on"
}
}
},
"files": {
"ignoreUnknown": false,
"ignore": ["dist", "lib", "node_modules"]
"includes": [
"**",
"!**/dist",
"!**/lib",
"!**/node_modules",
"!**/package*.json",
"!**/known-checksums.*"
]
},
"formatter": {
"enabled": true,
"indentStyle": "space"
},
"organizeImports": {
"enabled": true
"javascript": {
"formatter": {
"quoteStyle": "double",
"trailingCommas": "all"
}
},
"linter": {
"enabled": true,
@@ -22,10 +36,9 @@
"recommended": true
}
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"trailingCommas": "all"
}
"vcs": {
"clientKind": "git",
"enabled": true,
"useIgnoreFile": false
}
}
Generated Vendored
+286 -88
View File
@@ -29014,12 +29014,12 @@ var __importStar = (this && this.__importStar) || (function () {
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.validateChecksum = validateChecksum;
exports.isknownVersion = isknownVersion;
const fs = __importStar(__nccwpck_require__(3024));
const crypto = __importStar(__nccwpck_require__(7598));
const fs = __importStar(__nccwpck_require__(3024));
const core = __importStar(__nccwpck_require__(7484));
const known_checksums_1 = __nccwpck_require__(2764);
async function validateChecksum(checkSum, downloadPath, arch, platform, version) {
let isValid = undefined;
let isValid;
if (checkSum !== undefined && checkSum !== "") {
isValid = await validateFileCheckSum(downloadPath, checkSum);
}
@@ -29071,6 +29071,176 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.KNOWN_CHECKSUMS = void 0;
// AUTOGENERATED_DO_NOT_EDIT
exports.KNOWN_CHECKSUMS = {
"aarch64-apple-darwin-0.12.8": "d7ddfc029858b97452e728c229b0378e3dde5300b23df5cc5c77296025971379",
"aarch64-pc-windows-msvc-0.12.8": "99cedac1f9b7a321a0e2b81ded68bbaf5dbff6aedac528766eda50d3871ccce9",
"aarch64-unknown-linux-gnu-0.12.8": "fc4a79cfe90c8e4f7bfdad2198e939b70416916a7e90f687f30490b25e2171d6",
"aarch64-unknown-linux-musl-0.12.8": "6840915d3f11a32ac00368206d7a4c957d2d499bc324ab39a3a0a851fda07dc2",
"arm-unknown-linux-musleabihf-0.12.8": "cf549a91db1de22bde9562725d748625a23d41050f2e3ef9a6dca0b6abaa3ca3",
"armv7-unknown-linux-gnueabihf-0.12.8": "b69472a32bc355f7cbc61d939d3ea1cbf1ab42f1bddd56f4ad53af1a372dab55",
"armv7-unknown-linux-musleabihf-0.12.8": "0de514e00cfccff21fd52315f439e52ac95f02539487a78ea864df5d8627e77e",
"i686-pc-windows-msvc-0.12.8": "50bd0eea8f4dc8a94a96cc64f3f61163421f02230672e12b5a91068c7585f7e1",
"i686-unknown-linux-gnu-0.12.8": "3363c9c7b41fec9ad680f9bb32b65fffb30bd582e0fc2ae5d3ee8c51e3fc8347",
"i686-unknown-linux-musl-0.12.8": "73dbe5b0718322479e7e78abf598c626d7ffc8cf10a2ebc54524fb0e0118fa37",
"powerpc64-unknown-linux-gnu-0.12.8": "570dda0a1f5683eb2124491356694fcd2d5b13efc43f2b2f7315fe187fc2add5",
"powerpc64le-unknown-linux-gnu-0.12.8": "73bab12d97b6ecd54d8e338f57ab90b3c06e6bdb965bd9ea1613a2c11eb24256",
"s390x-unknown-linux-gnu-0.12.8": "001f98c87871a617fda8addc74954b79b8c10875feade4a187de79daf8613fcc",
"x86_64-apple-darwin-0.12.8": "5c795cae1956a1d1c84e1d93c952b627da1541311fdbb09885bf9d80b0e2cc42",
"x86_64-pc-windows-msvc-0.12.8": "223d7691fc68bfcfb0bbefa35e5d63998721367404573d883e97583fe73a7682",
"x86_64-unknown-linux-gnu-0.12.8": "ac0edfd0935dfedc884f2ddeab6705b4875e7e84aa9f1c7af78233492ebecdb0",
"x86_64-unknown-linux-musl-0.12.8": "0062142b6277177f196a9dd7cf1bcf10f536f8a33c458d258525504f94760227",
"aarch64-apple-darwin-0.12.7": "86b39b4002bb12588af972ad56cfddc1eaa0879c4badb07f0021fae77b5cd958",
"aarch64-pc-windows-msvc-0.12.7": "35b51d47463eebfc2d39863222a19540e73ddda5b1662b88e774580a7ac526a4",
"aarch64-unknown-linux-gnu-0.12.7": "0d4bb492a02cf191a2e1e058cf819c2ed86c05ea444de5e3895ba75c890a9804",
"aarch64-unknown-linux-musl-0.12.7": "5f97261a334af4f4ba41baa5cea0f0dfd8d732d9ab22beb5bf0639804389bfa3",
"arm-unknown-linux-musleabihf-0.12.7": "ec0d3cf0c6721b1c4c7480995d8a538b217c9dcf37f64389f05a0bea7ff308b9",
"armv7-unknown-linux-gnueabihf-0.12.7": "59f8f6d19faa61f3ca6e7127a3e34470028bed90e40bebacf7c8be48d3080140",
"armv7-unknown-linux-musleabihf-0.12.7": "6ce861317f812b69c68a92c6f6afbb68b99bab4525758b9bad659f94a6fd2429",
"i686-pc-windows-msvc-0.12.7": "becca8cf66388f2532477ad28fae2bd3ccfda8635f4fd68d7139914020203ff6",
"i686-unknown-linux-gnu-0.12.7": "65bbeba7444f62cc403591999d7bfbf3aec0e2ecae869c969c9faf096a737279",
"i686-unknown-linux-musl-0.12.7": "0fd4cc8e5f2f02acd208482da316fdb4ecc2179d11bf0aa61d7622ba7100e889",
"powerpc64-unknown-linux-gnu-0.12.7": "81efd82ed616aa951499cf4012420adfbc4cac0b39375623bbecbf79a4d08098",
"powerpc64le-unknown-linux-gnu-0.12.7": "46360fc4d0b498a3ebfc9ee73ee6b2b59db3ace21dbf12ba41e5fb15dfb71364",
"s390x-unknown-linux-gnu-0.12.7": "ef03f40de21e9eed3e66626d3af768b3f9a82cd2e8cd62bc887bcd206a2ccdce",
"x86_64-apple-darwin-0.12.7": "f0179a587d5509f32ab16bd95cdf64ddcebc80d653e3674161d366312a4eaf7a",
"x86_64-pc-windows-msvc-0.12.7": "12a239698d4f0926523cb51a9b00a560615d6237e9a748c563a74f4708f4abdf",
"x86_64-unknown-linux-gnu-0.12.7": "65b1ec7ba8feda6cbe52aec168f32e5c276577065914fca922b9a8b3f42db433",
"x86_64-unknown-linux-musl-0.12.7": "58aeb49137d0a9df810ba26c778d10d612f8c1439439527a6a95c90ea318c7c5",
"aarch64-apple-darwin-0.12.5": "8819b61cff645c1d1671df331bb57c1ab230094b686942bccedde1f888feb522",
"aarch64-pc-windows-msvc-0.12.5": "b5f06365b87c4d90de76dbd17379db937faa49cd37a931f1908e7c94a604dcd4",
"aarch64-unknown-linux-gnu-0.12.5": "6d00576ccef50b5627ded90879430acd40d590bbc7b354af0549f41fe2f58fcf",
"aarch64-unknown-linux-musl-0.12.5": "f147ccdbe26d35f2752c6d97d158bc8e3b4d1833d283748fc48f350c698a6f7b",
"arm-unknown-linux-musleabihf-0.12.5": "c6aaa6d90cd2abad0650e968defa8e30dd065ea05ef6391716302cc8e6e34287",
"armv7-unknown-linux-gnueabihf-0.12.5": "e479a5f64160f814b44415ccdc834b0f85b539bc286eb8c09199a7aeefa6bf06",
"armv7-unknown-linux-musleabihf-0.12.5": "04b7b507752e6f62fffefa3d02d31e96a7e8fb31f699dbc83fb814d7c3c4bb15",
"i686-pc-windows-msvc-0.12.5": "a0c5b5be39841055fa7b4255cbcc9e8761a1328f461d2335dd53cc195b7c51bb",
"i686-unknown-linux-gnu-0.12.5": "0c95dc3c5711fccccf26a1aef9a620d6a1fd2faa8485e38ec91d836f7d2200e1",
"i686-unknown-linux-musl-0.12.5": "d223f9db886191de0c80c5e2519f413dce0281080f6bc9eecbaff18e2c474d52",
"powerpc64-unknown-linux-gnu-0.12.5": "c436a319fec80a7b23591fbd15b2c224a3b30a5c0dc257d150f684a8c45dc147",
"powerpc64le-unknown-linux-gnu-0.12.5": "26ccf69bb0a6b98b8ad0d7e566acacbd86e2fbbd734ea98b854e40237905a9c9",
"s390x-unknown-linux-gnu-0.12.5": "c8f8ef8f4ce2930085f7e3e17ee58936938b41c9753c2a9aeab0a6473138887a",
"x86_64-apple-darwin-0.12.5": "5af0b2931581a5ed91743c9f669c23cb0db9bb1f0c49f8695ad1443dbc6a9e50",
"x86_64-pc-windows-msvc-0.12.5": "91b88d365f60e3b641d5204a87d56275cd1b4a869f939b637b06e1d6e9fd38e1",
"x86_64-unknown-linux-gnu-0.12.5": "1ef5e978c41c67feaa5447d97a4400f5f0136c92d6507a876d81f1a2fd64d154",
"x86_64-unknown-linux-musl-0.12.5": "79beb4eac07beaea24774709eeb88a87115f1b53f857dcc1155431e642e01ade",
"aarch64-apple-darwin-0.12.4": "be7dc64e69a31b1bb9e875274778c1b65c9470ff18214232aa35fc843e5a6826",
"aarch64-pc-windows-msvc-0.12.4": "859739ae8f64f39512f637ecc56ca12adfdc0d45f79f2ce1ba53d5111d92e753",
"aarch64-unknown-linux-gnu-0.12.4": "8ce8faaeeb277f7481eb6fb21d1073365f1e633513f67542d245fad2aeebabca",
"aarch64-unknown-linux-musl-0.12.4": "adab1c084dbe508c134a354e277b6706da98e89c84aee619cbff37fff5f0b8fc",
"arm-unknown-linux-musleabihf-0.12.4": "0357e038b60ef8c879d625474f0c93e31601a3e648836ccf4dfcf85ffa7897d3",
"armv7-unknown-linux-gnueabihf-0.12.4": "dd6f50075a6b02878d35b21a192ba6ec1a7b43be21b882f6363cceac19e457f7",
"armv7-unknown-linux-musleabihf-0.12.4": "1286d7520f616f797427a492e51f2f53248505661c86ed30d141379f595ad049",
"i686-pc-windows-msvc-0.12.4": "5f6a09e123059e7b434edc68b5ed5e8d2af8156cf10506a3587c51ecc1ffcab1",
"i686-unknown-linux-gnu-0.12.4": "a19cc2babc73065184e60ee41a1157e94f290261175cbc51b11038ebb0dde84a",
"i686-unknown-linux-musl-0.12.4": "c230fe5125497ba667bbe554759bdbd43d7e45855762ce35afc7e1bccd4300ed",
"powerpc64-unknown-linux-gnu-0.12.4": "d8f029b295985aeb0ec877e232d43f56e452792e8edabcc82b1094ac2d07c006",
"powerpc64le-unknown-linux-gnu-0.12.4": "60ac64921ff538beb3cbe8d91b56bda14dffaa7f4c398ebbedb0ff358b1c71c8",
"s390x-unknown-linux-gnu-0.12.4": "78319ca0b164c84cb8a0f8bbe13372c9dd4d26cbc286b78c34bb5e947695fe08",
"x86_64-apple-darwin-0.12.4": "2c829e3128354900495ad91d0401e2284e70121bae67cfcb264eea3a639381a5",
"x86_64-pc-windows-msvc-0.12.4": "0fcadba5764177cc79d3b1bdf56481e71977dd167efd1073f9db9b719e34ed38",
"x86_64-unknown-linux-gnu-0.12.4": "bc783b6b4b4a253ec2d9baf5ce559aa3a41570a14ae865cac3cdd11ef28403a7",
"x86_64-unknown-linux-musl-0.12.4": "41117fc1c67eb9572c50403297bd5fcb8cec99d8a1566badec7ff1a03f8a356d",
"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",
@@ -31380,17 +31550,17 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.tryGetFromToolCache = tryGetFromToolCache;
exports.downloadVersion = downloadVersion;
exports.resolveVersion = resolveVersion;
const node_fs_1 = __nccwpck_require__(3024);
const path = __importStar(__nccwpck_require__(6760));
const core = __importStar(__nccwpck_require__(7484));
const tc = __importStar(__nccwpck_require__(3472));
const path = __importStar(__nccwpck_require__(6760));
const node_fs_1 = __nccwpck_require__(3024);
const semver = __importStar(__nccwpck_require__(9318));
const pep440 = __importStar(__nccwpck_require__(3297));
const constants_1 = __nccwpck_require__(6156);
const checksum_1 = __nccwpck_require__(5391);
const core_1 = __nccwpck_require__(767);
const plugin_paginate_rest_1 = __nccwpck_require__(3779);
const plugin_rest_endpoint_methods_1 = __nccwpck_require__(9210);
const pep440 = __importStar(__nccwpck_require__(3297));
const semver = __importStar(__nccwpck_require__(9318));
const constants_1 = __nccwpck_require__(6156);
const checksum_1 = __nccwpck_require__(5391);
const PaginatingOctokit = core_1.Octokit.plugin(plugin_paginate_rest_1.paginateRest, plugin_rest_endpoint_methods_1.restEndpointMethods);
function tryGetFromToolCache(arch, version) {
core.debug(`Trying to get ruff from tool cache for ${version}...`);
@@ -31401,7 +31571,7 @@ function tryGetFromToolCache(arch, version) {
resolvedVersion = version;
}
const installedPath = tc.find(constants_1.TOOL_CACHE_NAME, resolvedVersion, arch);
return { version: resolvedVersion, installedPath };
return { installedPath, version: resolvedVersion };
}
async function downloadVersion(platform, arch, version, checkSum, githubToken) {
const artifact = `ruff-${arch}-${platform}`;
@@ -31416,7 +31586,7 @@ async function downloadVersion(platform, arch, version, checkSum, githubToken) {
await (0, checksum_1.validateChecksum)(checkSum, downloadPath, arch, platform, version);
const extractedDir = await extractDownloadedArtifact(version, downloadPath, extension, platform, artifact);
const cachedToolDir = await tc.cacheDir(extractedDir, constants_1.TOOL_CACHE_NAME, version, arch);
return { version: version, cachedToolDir };
return { cachedToolDir, version: version };
}
function constructDownloadUrl(version, platform, arch) {
const artifactVersionSuffix = semver.lte(version, "v0.4.10") && semver.gte(version, "v0.1.8")
@@ -31487,6 +31657,10 @@ async function getReleaseTagNames(octokit) {
owner: constants_1.OWNER,
repo: constants_1.REPO,
});
const releaseTagNames = response.map((release) => release.tag_name);
if (releaseTagNames.length === 0) {
throw Error("Github API request failed while getting releases. Check the GitHub status page for outages. Try again later.");
}
return response.map((release) => release.tag_name);
}
async function getLatestVersion(githubToken) {
@@ -31504,6 +31678,7 @@ async function getLatestVersion(githubToken) {
latestRelease = await getLatestRelease(octokit);
}
else {
core.error("Github API request failed while getting latest release. Check the GitHub status page for outages. Try again later.");
throw err;
}
}
@@ -31575,15 +31750,15 @@ var __importStar = (this && this.__importStar) || (function () {
};
})();
Object.defineProperty(exports, "__esModule", ({ value: true }));
const fs = __importStar(__nccwpck_require__(3024));
const path = __importStar(__nccwpck_require__(6760));
const core = __importStar(__nccwpck_require__(7484));
const exec = __importStar(__nccwpck_require__(5236));
const path = __importStar(__nccwpck_require__(6760));
const download_version_1 = __nccwpck_require__(8255);
const platforms_1 = __nccwpck_require__(8361);
const inputs_1 = __nccwpck_require__(9612);
const pyproject_1 = __nccwpck_require__(3929);
const fs = __importStar(__nccwpck_require__(3024));
const semver = __importStar(__nccwpck_require__(9318));
const download_version_1 = __nccwpck_require__(8255);
const inputs_1 = __nccwpck_require__(9612);
const platforms_1 = __nccwpck_require__(8361);
const pyproject_1 = __nccwpck_require__(3929);
async function run() {
const platform = (0, platforms_1.getPlatform)();
const arch = (0, platforms_1.getArch)();
@@ -31749,9 +31924,9 @@ exports.getPlatform = getPlatform;
function getArch() {
const arch = process.arch;
const archMapping = {
arm64: "aarch64",
ia32: "i686",
x64: "x86_64",
arm64: "aarch64",
};
if (arch in archMapping) {
return archMapping[arch];
@@ -31760,8 +31935,8 @@ function getArch() {
function getPlatform() {
const platform = process.platform;
const platformMapping = {
linux: "unknown-linux-gnu",
darwin: "apple-darwin",
linux: "unknown-linux-gnu",
win32: "pc-windows-msvc",
};
if (platform in platformMapping) {
@@ -31841,7 +32016,11 @@ function parsePyproject(pyprojectContent) {
function getRuffVersionFromPoetryGroups(pyproject) {
// Special handling for Poetry until it supports PEP 735
// See: <https://github.com/python-poetry/poetry/issues/9751>
const poetryGroups = Object.values(pyproject?.tool?.poetry?.group || {});
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]) => {
@@ -33964,15 +34143,15 @@ var __copyProps = (to, from, except, desc) => {
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// dist/index.js
var dist_exports = {};
__export(dist_exports, {
var index_exports = {};
__export(index_exports, {
TomlDate: () => TomlDate,
TomlError: () => TomlError,
default: () => dist_default,
default: () => index_default,
parse: () => parse,
stringify: () => stringify
});
module.exports = __toCommonJS(dist_exports);
module.exports = __toCommonJS(index_exports);
// dist/error.js
function getLineColFromPtr(string, ptr) {
@@ -34054,9 +34233,7 @@ function skipUntil(str, ptr, sep, end, banNewLines = false) {
i = indexOfNewline(str, i);
} else if (c === sep) {
return i + 1;
} else if (c === end) {
return i;
} else if (banNewLines && (c === "\n" || c === "\r" && str[i + 1] === "\n")) {
} else if (c === end || banNewLines && (c === "\n" || c === "\r" && str[i + 1] === "\n")) {
return i;
}
}
@@ -34071,7 +34248,7 @@ function getStringEnd(str, seek) {
seek += target.length - 1;
do
seek = str.indexOf(target, ++seek);
while (seek > -1 && first !== "'" && str[seek - 1] === "\\" && str[seek - 2] !== "\\");
while (seek > -1 && first !== "'" && str[seek - 1] === "\\" && (str[seek - 2] !== "\\" || str[seek - 3] === "\\"));
if (seek > -1) {
seek += target.length;
if (target.length > 1) {
@@ -34102,6 +34279,7 @@ var TomlDate = class _TomlDate extends Date {
date = `0000-01-01T${date}`;
}
hasTime = !!match[2];
hasTime && date[10] === " " && (date = date.replace(" ", "T"));
if (match[2] && +match[2] > 23) {
date = "";
} else {
@@ -34262,7 +34440,7 @@ function parseString(str, ptr = 0, endPtr = str.length) {
}
return parsed + str.slice(sliceStart, endPtr - 1);
}
function parseValue(value, toml, ptr) {
function parseValue(value, toml, ptr, integersAsBigInt) {
if (value === "true")
return true;
if (value === "false")
@@ -34274,31 +34452,36 @@ function parseValue(value, toml, ptr) {
if (value === "nan" || value === "+nan" || value === "-nan")
return NaN;
if (value === "-0")
return 0;
let isInt;
if ((isInt = INT_REGEX.test(value)) || FLOAT_REGEX.test(value)) {
return integersAsBigInt ? 0n : 0;
let isInt = INT_REGEX.test(value);
if (isInt || FLOAT_REGEX.test(value)) {
if (LEADING_ZERO.test(value)) {
throw new TomlError("leading zeroes are not allowed", {
toml,
ptr
});
}
let numeric = +value.replace(/_/g, "");
value = value.replace(/_/g, "");
let numeric = +value;
if (isNaN(numeric)) {
throw new TomlError("invalid number", {
toml,
ptr
});
}
if (isInt && !Number.isSafeInteger(numeric)) {
if (isInt) {
if ((isInt = !Number.isSafeInteger(numeric)) && !integersAsBigInt) {
throw new TomlError("integer value cannot be represented losslessly", {
toml,
ptr
});
}
if (isInt || integersAsBigInt === true)
numeric = BigInt(value);
}
return numeric;
}
let date = new TomlDate(value);
const date = new TomlDate(value);
if (!date.isValid()) {
throw new TomlError("invalid value", {
toml,
@@ -34328,7 +34511,7 @@ function sliceAndTrimEndOf(str, startPtr, endPtr, allowNewLines) {
}
return [trimmed, commentIdx];
}
function extractValue(str, ptr, end, depth) {
function extractValue(str, ptr, end, depth, integersAsBigInt) {
if (depth === 0) {
throw new TomlError("document contains excessively nested structures. aborting.", {
toml: str,
@@ -34337,9 +34520,9 @@ function extractValue(str, ptr, end, depth) {
}
let c = str[ptr];
if (c === "[" || c === "{") {
let [value, endPtr2] = c === "[" ? parseArray(str, ptr, depth) : parseInlineTable(str, ptr, depth);
let newPtr = skipUntil(str, endPtr2, ",", end);
if (end === "}") {
let [value, endPtr2] = c === "[" ? parseArray(str, ptr, depth, integersAsBigInt) : parseInlineTable(str, ptr, depth, integersAsBigInt);
let newPtr = end ? skipUntil(str, endPtr2, ",", end) : endPtr2;
if (endPtr2 - newPtr && end === "}") {
let nextNewLine = indexOfNewline(str, endPtr2, newPtr);
if (nextNewLine > -1) {
throw new TomlError("newlines are not allowed in inline tables", {
@@ -34379,7 +34562,7 @@ function extractValue(str, ptr, end, depth) {
endPtr += +(str[endPtr] === ",");
}
return [
parseValue(slice[0], str, ptr),
parseValue(slice[0], str, ptr, integersAsBigInt),
endPtr
];
}
@@ -34453,28 +34636,20 @@ function parseKey(str, ptr, end = "=") {
} while (dot + 1 && dot < endPtr);
return [parsed, skipVoid(str, endPtr + 1, true, true)];
}
function parseInlineTable(str, ptr, depth) {
function parseInlineTable(str, ptr, depth, integersAsBigInt) {
let res = {};
let seen = /* @__PURE__ */ new Set();
let c;
let comma = 0;
ptr++;
while ((c = str[ptr++]) !== "}" && c) {
let err = { toml: str, ptr: ptr - 1 };
if (c === "\n") {
throw new TomlError("newlines are not allowed in inline tables", {
toml: str,
ptr: ptr - 1
});
throw new TomlError("newlines are not allowed in inline tables", err);
} else if (c === "#") {
throw new TomlError("inline tables cannot contain comments", {
toml: str,
ptr: ptr - 1
});
throw new TomlError("inline tables cannot contain comments", err);
} else if (c === ",") {
throw new TomlError("expected key-value, found comma", {
toml: str,
ptr: ptr - 1
});
throw new TomlError("expected key-value, found comma", err);
} else if (c !== " " && c !== " ") {
let k;
let t = res;
@@ -34500,7 +34675,7 @@ function parseInlineTable(str, ptr, depth) {
ptr
});
}
let [value, valueEndPtr] = extractValue(str, keyEndPtr, "}", depth - 1);
let [value, valueEndPtr] = extractValue(str, keyEndPtr, "}", depth - 1, integersAsBigInt);
seen.add(value);
t[k] = value;
ptr = valueEndPtr;
@@ -34521,7 +34696,7 @@ function parseInlineTable(str, ptr, depth) {
}
return [res, ptr];
}
function parseArray(str, ptr, depth) {
function parseArray(str, ptr, depth, integersAsBigInt) {
let res = [];
let c;
ptr++;
@@ -34534,7 +34709,7 @@ function parseArray(str, ptr, depth) {
} else if (c === "#")
ptr = skipComment(str, ptr);
else if (c !== " " && c !== " " && c !== "\n" && c !== "\r") {
let e = extractValue(str, ptr - 1, "]", depth - 1);
let e = extractValue(str, ptr - 1, "]", depth - 1, integersAsBigInt);
res.push(e[0]);
ptr = e[1];
}
@@ -34608,8 +34783,7 @@ function peekTable(key, table, meta, type) {
}
return [k, t, state.c];
}
function parse(toml, opts) {
let maxDepth = opts?.maxDepth ?? 1e3;
function parse(toml, { maxDepth = 1e3, integersAsBigInt } = {}) {
let res = {};
let meta = {};
let tbl = res;
@@ -34658,7 +34832,7 @@ function parse(toml, opts) {
ptr
});
}
let v = extractValue(toml, k[1], void 0, maxDepth);
let v = extractValue(toml, k[1], void 0, maxDepth, integersAsBigInt);
p[1][p[0]] = v[0];
ptr = v[1];
}
@@ -34696,7 +34870,7 @@ function isArrayOfTables(obj) {
function formatString(s) {
return JSON.stringify(s).replace(/\x7f/g, "\\u007f");
}
function stringifyValue(val, type, depth) {
function stringifyValue(val, type, depth, numberAsFloat) {
if (depth === 0) {
throw new Error("Could not stringify the object: maximum object depth exceeded");
}
@@ -34707,6 +34881,8 @@ function stringifyValue(val, type, depth) {
return "inf";
if (val === -Infinity)
return "-inf";
if (numberAsFloat && Number.isInteger(val))
return val.toFixed(1);
return val.toString();
}
if (type === "bigint" || type === "boolean") {
@@ -34722,13 +34898,13 @@ function stringifyValue(val, type, depth) {
return val.toISOString();
}
if (type === "object") {
return stringifyInlineTable(val, depth);
return stringifyInlineTable(val, depth, numberAsFloat);
}
if (type === "array") {
return stringifyArray(val, depth);
return stringifyArray(val, depth, numberAsFloat);
}
}
function stringifyInlineTable(obj, depth) {
function stringifyInlineTable(obj, depth, numberAsFloat) {
let keys = Object.keys(obj);
if (keys.length === 0)
return "{}";
@@ -34739,11 +34915,11 @@ function stringifyInlineTable(obj, depth) {
res += ", ";
res += BARE_KEY.test(k) ? k : formatString(k);
res += " = ";
res += stringifyValue(obj[k], extendedTypeOf(obj[k]), depth - 1);
res += stringifyValue(obj[k], extendedTypeOf(obj[k]), depth - 1, numberAsFloat);
}
return res + " }";
}
function stringifyArray(array, depth) {
function stringifyArray(array, depth, numberAsFloat) {
if (array.length === 0)
return "[]";
let res = "[ ";
@@ -34753,11 +34929,11 @@ function stringifyArray(array, depth) {
if (array[i] === null || array[i] === void 0) {
throw new TypeError("arrays cannot contain null or undefined values");
}
res += stringifyValue(array[i], extendedTypeOf(array[i]), depth - 1);
res += stringifyValue(array[i], extendedTypeOf(array[i]), depth - 1, numberAsFloat);
}
return res + " ]";
}
function stringifyArrayTable(array, key, depth) {
function stringifyArrayTable(array, key, depth, numberAsFloat) {
if (depth === 0) {
throw new Error("Could not stringify the object: maximum object depth exceeded");
}
@@ -34765,12 +34941,12 @@ function stringifyArrayTable(array, key, depth) {
for (let i = 0; i < array.length; i++) {
res += `[[${key}]]
`;
res += stringifyTable(array[i], key, depth);
res += stringifyTable(array[i], key, depth, numberAsFloat);
res += "\n\n";
}
return res;
}
function stringifyTable(obj, prefix, depth) {
function stringifyTable(obj, prefix, depth, numberAsFloat) {
if (depth === 0) {
throw new Error("Could not stringify the object: maximum object depth exceeded");
}
@@ -34786,17 +34962,17 @@ function stringifyTable(obj, prefix, depth) {
}
let key = BARE_KEY.test(k) ? k : formatString(k);
if (type === "array" && isArrayOfTables(obj[k])) {
tables += stringifyArrayTable(obj[k], prefix ? `${prefix}.${key}` : key, depth - 1);
tables += stringifyArrayTable(obj[k], prefix ? `${prefix}.${key}` : key, depth - 1, numberAsFloat);
} else if (type === "object") {
let tblKey = prefix ? `${prefix}.${key}` : key;
tables += `[${tblKey}]
`;
tables += stringifyTable(obj[k], tblKey, depth - 1);
tables += stringifyTable(obj[k], tblKey, depth - 1, numberAsFloat);
tables += "\n\n";
} else {
preamble += key;
preamble += " = ";
preamble += stringifyValue(obj[k], type, depth);
preamble += stringifyValue(obj[k], type, depth, numberAsFloat);
preamble += "\n";
}
}
@@ -34804,16 +34980,15 @@ function stringifyTable(obj, prefix, depth) {
return `${preamble}
${tables}`.trim();
}
function stringify(obj, opts) {
function stringify(obj, { maxDepth = 1e3, numbersAsFloat = false } = {}) {
if (extendedTypeOf(obj) !== "object") {
throw new TypeError("stringify can only be called with an object");
}
let maxDepth = opts?.maxDepth ?? 1e3;
return stringifyTable(obj, "", maxDepth);
return stringifyTable(obj, "", maxDepth, numbersAsFloat);
}
// dist/index.js
var dist_default = { parse, stringify, TomlDate, TomlError };
var index_default = { parse, stringify, TomlDate, TomlError };
// Annotate the CommonJS export names for ESM import in node:
0 && (0);
/*!
@@ -35415,7 +35590,7 @@ class RequestError extends Error {
// pkg/dist-src/version.js
var dist_bundle_VERSION = "0.0.0-development";
var dist_bundle_VERSION = "10.0.3";
// pkg/dist-src/defaults.js
var defaults_default = {
@@ -35647,7 +35822,8 @@ var NON_VARIABLE_OPTIONS = [
"headers",
"request",
"query",
"mediaType"
"mediaType",
"operationName"
];
var FORBIDDEN_VARIABLE_OPTIONS = ["query", "method", "url"];
var GHES_V3_SUFFIX_REGEX = /\/api\/v3\/?$/;
@@ -35785,7 +35961,7 @@ var createTokenAuth = function createTokenAuth2(token) {
;// CONCATENATED MODULE: ./node_modules/@octokit/core/dist-src/version.js
const version_VERSION = "6.1.4";
const version_VERSION = "7.0.3";
;// CONCATENATED MODULE: ./node_modules/@octokit/core/dist-src/index.js
@@ -35799,6 +35975,21 @@ const noop = () => {
};
const consoleWarn = console.warn.bind(console);
const consoleError = console.error.bind(console);
function createLogger(logger = {}) {
if (typeof logger.debug !== "function") {
logger.debug = noop;
}
if (typeof logger.info !== "function") {
logger.info = noop;
}
if (typeof logger.warn !== "function") {
logger.warn = consoleWarn;
}
if (typeof logger.error !== "function") {
logger.error = consoleError;
}
return logger;
}
const userAgentTrail = `octokit-core.js/${version_VERSION} ${getUserAgent()}`;
class Octokit {
static VERSION = version_VERSION;
@@ -35866,15 +36057,7 @@ class Octokit {
}
this.request = request.defaults(requestDefaults);
this.graphql = withCustomRequest(this.request).defaults(requestDefaults);
this.log = Object.assign(
{
debug: noop,
info: noop,
warn: consoleWarn,
error: consoleError
},
options.log
);
this.log = createLogger(options.log);
this.hook = hook;
if (!options.authStrategy) {
if (!options.auth) {
@@ -35947,14 +36130,16 @@ function normalizePaginatedListResponse(response) {
data: []
};
}
const responseNeedsNormalization = "total_count" in response.data && !("url" in response.data);
const responseNeedsNormalization = ("total_count" in response.data || "total_commits" in response.data) && !("url" in response.data);
if (!responseNeedsNormalization) return response;
const incompleteResults = response.data.incomplete_results;
const repositorySelection = response.data.repository_selection;
const totalCount = response.data.total_count;
const totalCommits = response.data.total_commits;
delete response.data.incomplete_results;
delete response.data.repository_selection;
delete response.data.total_count;
delete response.data.total_commits;
const namespaceKey = Object.keys(response.data)[0];
const data = response.data[namespaceKey];
response.data = data;
@@ -35965,6 +36150,7 @@ function normalizePaginatedListResponse(response) {
response.data.repository_selection = repositorySelection;
}
response.data.total_count = totalCount;
response.data.total_commits = totalCommits;
return response;
}
@@ -35985,6 +36171,16 @@ function iterator(octokit, route, parameters) {
url = ((normalizedResponse.headers.link || "").match(
/<([^<>]+)>;\s*rel="next"/
) || [])[1];
if (!url && "total_commits" in normalizedResponse.data) {
const parsedUrl = new URL(normalizedResponse.url);
const params = parsedUrl.searchParams;
const page = parseInt(params.get("page") || "1", 10);
const per_page = parseInt(params.get("per_page") || "250", 10);
if (page * per_page < normalizedResponse.data.total_commits) {
params.set("page", String(page + 1));
url = parsedUrl.toString();
}
}
return { value: normalizedResponse };
} catch (error) {
if (error.status !== 409) throw error;
@@ -36179,6 +36375,8 @@ var paginatingEndpoints = [
"GET /repos/{owner}/{repo}/commits/{ref}/check-suites",
"GET /repos/{owner}/{repo}/commits/{ref}/status",
"GET /repos/{owner}/{repo}/commits/{ref}/statuses",
"GET /repos/{owner}/{repo}/compare/{basehead}",
"GET /repos/{owner}/{repo}/compare/{base}...{head}",
"GET /repos/{owner}/{repo}/contributors",
"GET /repos/{owner}/{repo}/dependabot/alerts",
"GET /repos/{owner}/{repo}/dependabot/secrets",
+208 -15
View File
@@ -28205,6 +28205,176 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.KNOWN_CHECKSUMS = void 0;
// AUTOGENERATED_DO_NOT_EDIT
exports.KNOWN_CHECKSUMS = {
"aarch64-apple-darwin-0.12.8": "d7ddfc029858b97452e728c229b0378e3dde5300b23df5cc5c77296025971379",
"aarch64-pc-windows-msvc-0.12.8": "99cedac1f9b7a321a0e2b81ded68bbaf5dbff6aedac528766eda50d3871ccce9",
"aarch64-unknown-linux-gnu-0.12.8": "fc4a79cfe90c8e4f7bfdad2198e939b70416916a7e90f687f30490b25e2171d6",
"aarch64-unknown-linux-musl-0.12.8": "6840915d3f11a32ac00368206d7a4c957d2d499bc324ab39a3a0a851fda07dc2",
"arm-unknown-linux-musleabihf-0.12.8": "cf549a91db1de22bde9562725d748625a23d41050f2e3ef9a6dca0b6abaa3ca3",
"armv7-unknown-linux-gnueabihf-0.12.8": "b69472a32bc355f7cbc61d939d3ea1cbf1ab42f1bddd56f4ad53af1a372dab55",
"armv7-unknown-linux-musleabihf-0.12.8": "0de514e00cfccff21fd52315f439e52ac95f02539487a78ea864df5d8627e77e",
"i686-pc-windows-msvc-0.12.8": "50bd0eea8f4dc8a94a96cc64f3f61163421f02230672e12b5a91068c7585f7e1",
"i686-unknown-linux-gnu-0.12.8": "3363c9c7b41fec9ad680f9bb32b65fffb30bd582e0fc2ae5d3ee8c51e3fc8347",
"i686-unknown-linux-musl-0.12.8": "73dbe5b0718322479e7e78abf598c626d7ffc8cf10a2ebc54524fb0e0118fa37",
"powerpc64-unknown-linux-gnu-0.12.8": "570dda0a1f5683eb2124491356694fcd2d5b13efc43f2b2f7315fe187fc2add5",
"powerpc64le-unknown-linux-gnu-0.12.8": "73bab12d97b6ecd54d8e338f57ab90b3c06e6bdb965bd9ea1613a2c11eb24256",
"s390x-unknown-linux-gnu-0.12.8": "001f98c87871a617fda8addc74954b79b8c10875feade4a187de79daf8613fcc",
"x86_64-apple-darwin-0.12.8": "5c795cae1956a1d1c84e1d93c952b627da1541311fdbb09885bf9d80b0e2cc42",
"x86_64-pc-windows-msvc-0.12.8": "223d7691fc68bfcfb0bbefa35e5d63998721367404573d883e97583fe73a7682",
"x86_64-unknown-linux-gnu-0.12.8": "ac0edfd0935dfedc884f2ddeab6705b4875e7e84aa9f1c7af78233492ebecdb0",
"x86_64-unknown-linux-musl-0.12.8": "0062142b6277177f196a9dd7cf1bcf10f536f8a33c458d258525504f94760227",
"aarch64-apple-darwin-0.12.7": "86b39b4002bb12588af972ad56cfddc1eaa0879c4badb07f0021fae77b5cd958",
"aarch64-pc-windows-msvc-0.12.7": "35b51d47463eebfc2d39863222a19540e73ddda5b1662b88e774580a7ac526a4",
"aarch64-unknown-linux-gnu-0.12.7": "0d4bb492a02cf191a2e1e058cf819c2ed86c05ea444de5e3895ba75c890a9804",
"aarch64-unknown-linux-musl-0.12.7": "5f97261a334af4f4ba41baa5cea0f0dfd8d732d9ab22beb5bf0639804389bfa3",
"arm-unknown-linux-musleabihf-0.12.7": "ec0d3cf0c6721b1c4c7480995d8a538b217c9dcf37f64389f05a0bea7ff308b9",
"armv7-unknown-linux-gnueabihf-0.12.7": "59f8f6d19faa61f3ca6e7127a3e34470028bed90e40bebacf7c8be48d3080140",
"armv7-unknown-linux-musleabihf-0.12.7": "6ce861317f812b69c68a92c6f6afbb68b99bab4525758b9bad659f94a6fd2429",
"i686-pc-windows-msvc-0.12.7": "becca8cf66388f2532477ad28fae2bd3ccfda8635f4fd68d7139914020203ff6",
"i686-unknown-linux-gnu-0.12.7": "65bbeba7444f62cc403591999d7bfbf3aec0e2ecae869c969c9faf096a737279",
"i686-unknown-linux-musl-0.12.7": "0fd4cc8e5f2f02acd208482da316fdb4ecc2179d11bf0aa61d7622ba7100e889",
"powerpc64-unknown-linux-gnu-0.12.7": "81efd82ed616aa951499cf4012420adfbc4cac0b39375623bbecbf79a4d08098",
"powerpc64le-unknown-linux-gnu-0.12.7": "46360fc4d0b498a3ebfc9ee73ee6b2b59db3ace21dbf12ba41e5fb15dfb71364",
"s390x-unknown-linux-gnu-0.12.7": "ef03f40de21e9eed3e66626d3af768b3f9a82cd2e8cd62bc887bcd206a2ccdce",
"x86_64-apple-darwin-0.12.7": "f0179a587d5509f32ab16bd95cdf64ddcebc80d653e3674161d366312a4eaf7a",
"x86_64-pc-windows-msvc-0.12.7": "12a239698d4f0926523cb51a9b00a560615d6237e9a748c563a74f4708f4abdf",
"x86_64-unknown-linux-gnu-0.12.7": "65b1ec7ba8feda6cbe52aec168f32e5c276577065914fca922b9a8b3f42db433",
"x86_64-unknown-linux-musl-0.12.7": "58aeb49137d0a9df810ba26c778d10d612f8c1439439527a6a95c90ea318c7c5",
"aarch64-apple-darwin-0.12.5": "8819b61cff645c1d1671df331bb57c1ab230094b686942bccedde1f888feb522",
"aarch64-pc-windows-msvc-0.12.5": "b5f06365b87c4d90de76dbd17379db937faa49cd37a931f1908e7c94a604dcd4",
"aarch64-unknown-linux-gnu-0.12.5": "6d00576ccef50b5627ded90879430acd40d590bbc7b354af0549f41fe2f58fcf",
"aarch64-unknown-linux-musl-0.12.5": "f147ccdbe26d35f2752c6d97d158bc8e3b4d1833d283748fc48f350c698a6f7b",
"arm-unknown-linux-musleabihf-0.12.5": "c6aaa6d90cd2abad0650e968defa8e30dd065ea05ef6391716302cc8e6e34287",
"armv7-unknown-linux-gnueabihf-0.12.5": "e479a5f64160f814b44415ccdc834b0f85b539bc286eb8c09199a7aeefa6bf06",
"armv7-unknown-linux-musleabihf-0.12.5": "04b7b507752e6f62fffefa3d02d31e96a7e8fb31f699dbc83fb814d7c3c4bb15",
"i686-pc-windows-msvc-0.12.5": "a0c5b5be39841055fa7b4255cbcc9e8761a1328f461d2335dd53cc195b7c51bb",
"i686-unknown-linux-gnu-0.12.5": "0c95dc3c5711fccccf26a1aef9a620d6a1fd2faa8485e38ec91d836f7d2200e1",
"i686-unknown-linux-musl-0.12.5": "d223f9db886191de0c80c5e2519f413dce0281080f6bc9eecbaff18e2c474d52",
"powerpc64-unknown-linux-gnu-0.12.5": "c436a319fec80a7b23591fbd15b2c224a3b30a5c0dc257d150f684a8c45dc147",
"powerpc64le-unknown-linux-gnu-0.12.5": "26ccf69bb0a6b98b8ad0d7e566acacbd86e2fbbd734ea98b854e40237905a9c9",
"s390x-unknown-linux-gnu-0.12.5": "c8f8ef8f4ce2930085f7e3e17ee58936938b41c9753c2a9aeab0a6473138887a",
"x86_64-apple-darwin-0.12.5": "5af0b2931581a5ed91743c9f669c23cb0db9bb1f0c49f8695ad1443dbc6a9e50",
"x86_64-pc-windows-msvc-0.12.5": "91b88d365f60e3b641d5204a87d56275cd1b4a869f939b637b06e1d6e9fd38e1",
"x86_64-unknown-linux-gnu-0.12.5": "1ef5e978c41c67feaa5447d97a4400f5f0136c92d6507a876d81f1a2fd64d154",
"x86_64-unknown-linux-musl-0.12.5": "79beb4eac07beaea24774709eeb88a87115f1b53f857dcc1155431e642e01ade",
"aarch64-apple-darwin-0.12.4": "be7dc64e69a31b1bb9e875274778c1b65c9470ff18214232aa35fc843e5a6826",
"aarch64-pc-windows-msvc-0.12.4": "859739ae8f64f39512f637ecc56ca12adfdc0d45f79f2ce1ba53d5111d92e753",
"aarch64-unknown-linux-gnu-0.12.4": "8ce8faaeeb277f7481eb6fb21d1073365f1e633513f67542d245fad2aeebabca",
"aarch64-unknown-linux-musl-0.12.4": "adab1c084dbe508c134a354e277b6706da98e89c84aee619cbff37fff5f0b8fc",
"arm-unknown-linux-musleabihf-0.12.4": "0357e038b60ef8c879d625474f0c93e31601a3e648836ccf4dfcf85ffa7897d3",
"armv7-unknown-linux-gnueabihf-0.12.4": "dd6f50075a6b02878d35b21a192ba6ec1a7b43be21b882f6363cceac19e457f7",
"armv7-unknown-linux-musleabihf-0.12.4": "1286d7520f616f797427a492e51f2f53248505661c86ed30d141379f595ad049",
"i686-pc-windows-msvc-0.12.4": "5f6a09e123059e7b434edc68b5ed5e8d2af8156cf10506a3587c51ecc1ffcab1",
"i686-unknown-linux-gnu-0.12.4": "a19cc2babc73065184e60ee41a1157e94f290261175cbc51b11038ebb0dde84a",
"i686-unknown-linux-musl-0.12.4": "c230fe5125497ba667bbe554759bdbd43d7e45855762ce35afc7e1bccd4300ed",
"powerpc64-unknown-linux-gnu-0.12.4": "d8f029b295985aeb0ec877e232d43f56e452792e8edabcc82b1094ac2d07c006",
"powerpc64le-unknown-linux-gnu-0.12.4": "60ac64921ff538beb3cbe8d91b56bda14dffaa7f4c398ebbedb0ff358b1c71c8",
"s390x-unknown-linux-gnu-0.12.4": "78319ca0b164c84cb8a0f8bbe13372c9dd4d26cbc286b78c34bb5e947695fe08",
"x86_64-apple-darwin-0.12.4": "2c829e3128354900495ad91d0401e2284e70121bae67cfcb264eea3a639381a5",
"x86_64-pc-windows-msvc-0.12.4": "0fcadba5764177cc79d3b1bdf56481e71977dd167efd1073f9db9b719e34ed38",
"x86_64-unknown-linux-gnu-0.12.4": "bc783b6b4b4a253ec2d9baf5ce559aa3a41570a14ae865cac3cdd11ef28403a7",
"x86_64-unknown-linux-musl-0.12.4": "41117fc1c67eb9572c50403297bd5fcb8cec99d8a1566badec7ff1a03f8a356d",
"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",
@@ -30609,13 +30779,13 @@ var __importStar = (this && this.__importStar) || (function () {
};
})();
Object.defineProperty(exports, "__esModule", ({ value: true }));
const core_1 = __nccwpck_require__(767);
const core = __importStar(__nccwpck_require__(7484));
const core_1 = __nccwpck_require__(767);
const plugin_paginate_rest_1 = __nccwpck_require__(3779);
const plugin_rest_endpoint_methods_1 = __nccwpck_require__(9210);
const constants_1 = __nccwpck_require__(6156);
const semver = __importStar(__nccwpck_require__(9318));
const update_known_checksums_1 = __nccwpck_require__(6182);
const constants_1 = __nccwpck_require__(6156);
const PaginatingOctokit = core_1.Octokit.plugin(plugin_paginate_rest_1.paginateRest, plugin_rest_endpoint_methods_1.restEndpointMethods);
async function run() {
const checksumFilePath = process.argv.slice(2)[0];
@@ -33280,7 +33450,7 @@ class RequestError extends Error {
// pkg/dist-src/version.js
var dist_bundle_VERSION = "0.0.0-development";
var dist_bundle_VERSION = "10.0.3";
// pkg/dist-src/defaults.js
var defaults_default = {
@@ -33512,7 +33682,8 @@ var NON_VARIABLE_OPTIONS = [
"headers",
"request",
"query",
"mediaType"
"mediaType",
"operationName"
];
var FORBIDDEN_VARIABLE_OPTIONS = ["query", "method", "url"];
var GHES_V3_SUFFIX_REGEX = /\/api\/v3\/?$/;
@@ -33650,7 +33821,7 @@ var createTokenAuth = function createTokenAuth2(token) {
;// CONCATENATED MODULE: ./node_modules/@octokit/core/dist-src/version.js
const version_VERSION = "6.1.4";
const version_VERSION = "7.0.3";
;// CONCATENATED MODULE: ./node_modules/@octokit/core/dist-src/index.js
@@ -33664,6 +33835,21 @@ const noop = () => {
};
const consoleWarn = console.warn.bind(console);
const consoleError = console.error.bind(console);
function createLogger(logger = {}) {
if (typeof logger.debug !== "function") {
logger.debug = noop;
}
if (typeof logger.info !== "function") {
logger.info = noop;
}
if (typeof logger.warn !== "function") {
logger.warn = consoleWarn;
}
if (typeof logger.error !== "function") {
logger.error = consoleError;
}
return logger;
}
const userAgentTrail = `octokit-core.js/${version_VERSION} ${getUserAgent()}`;
class Octokit {
static VERSION = version_VERSION;
@@ -33731,15 +33917,7 @@ class Octokit {
}
this.request = request.defaults(requestDefaults);
this.graphql = withCustomRequest(this.request).defaults(requestDefaults);
this.log = Object.assign(
{
debug: noop,
info: noop,
warn: consoleWarn,
error: consoleError
},
options.log
);
this.log = createLogger(options.log);
this.hook = hook;
if (!options.authStrategy) {
if (!options.auth) {
@@ -33812,14 +33990,16 @@ function normalizePaginatedListResponse(response) {
data: []
};
}
const responseNeedsNormalization = "total_count" in response.data && !("url" in response.data);
const responseNeedsNormalization = ("total_count" in response.data || "total_commits" in response.data) && !("url" in response.data);
if (!responseNeedsNormalization) return response;
const incompleteResults = response.data.incomplete_results;
const repositorySelection = response.data.repository_selection;
const totalCount = response.data.total_count;
const totalCommits = response.data.total_commits;
delete response.data.incomplete_results;
delete response.data.repository_selection;
delete response.data.total_count;
delete response.data.total_commits;
const namespaceKey = Object.keys(response.data)[0];
const data = response.data[namespaceKey];
response.data = data;
@@ -33830,6 +34010,7 @@ function normalizePaginatedListResponse(response) {
response.data.repository_selection = repositorySelection;
}
response.data.total_count = totalCount;
response.data.total_commits = totalCommits;
return response;
}
@@ -33850,6 +34031,16 @@ function iterator(octokit, route, parameters) {
url = ((normalizedResponse.headers.link || "").match(
/<([^<>]+)>;\s*rel="next"/
) || [])[1];
if (!url && "total_commits" in normalizedResponse.data) {
const parsedUrl = new URL(normalizedResponse.url);
const params = parsedUrl.searchParams;
const page = parseInt(params.get("page") || "1", 10);
const per_page = parseInt(params.get("per_page") || "250", 10);
if (page * per_page < normalizedResponse.data.total_commits) {
params.set("page", String(page + 1));
url = parsedUrl.toString();
}
}
return { value: normalizedResponse };
} catch (error) {
if (error.status !== 409) throw error;
@@ -34044,6 +34235,8 @@ var paginatingEndpoints = [
"GET /repos/{owner}/{repo}/commits/{ref}/check-suites",
"GET /repos/{owner}/{repo}/commits/{ref}/status",
"GET /repos/{owner}/{repo}/commits/{ref}/statuses",
"GET /repos/{owner}/{repo}/compare/{basehead}",
"GET /repos/{owner}/{repo}/compare/{base}...{head}",
"GET /repos/{owner}/{repo}/contributors",
"GET /repos/{owner}/{repo}/dependabot/alerts",
"GET /repos/{owner}/{repo}/dependabot/secrets",
+141 -151
View File
@@ -12,20 +12,20 @@
"@actions/core": "^1.11.1",
"@actions/exec": "^1.1.1",
"@actions/tool-cache": "^2.0.2",
"@octokit/core": "^6.1.4",
"@octokit/plugin-paginate-rest": "^13.0.1",
"@octokit/core": "^7.0.3",
"@octokit/plugin-paginate-rest": "^13.1.1",
"@octokit/plugin-rest-endpoint-methods": "^16.0.0",
"@renovatebot/pep440": "^4.1.0",
"smol-toml": "^1.3.1"
"smol-toml": "^1.4.1"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@biomejs/biome": "2.1.4",
"@types/js-yaml": "^4.0.9",
"@types/node": "^22.15.21",
"@types/node": "^24.2.1",
"@types/semver": "^7.7.0",
"@vercel/ncc": "^0.38.3",
"js-yaml": "^4.1.0",
"typescript": "^5.8.3"
"typescript": "^5.9.2"
}
},
"node_modules/@actions/core": {
@@ -72,11 +72,11 @@
}
},
"node_modules/@biomejs/biome": {
"version": "1.9.4",
"resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-1.9.4.tgz",
"integrity": "sha512-1rkd7G70+o9KkTn5KLmDYXihGoTaIGO9PIIN2ZB7UJxFrWw04CZHPYiMRjYsaDvVV7hP1dYNRLxSANLaBFGpog==",
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.1.4.tgz",
"integrity": "sha512-QWlrqyxsU0FCebuMnkvBIkxvPqH89afiJzjMl+z67ybutse590jgeaFdDurE9XYtzpjRGTI1tlUZPGWmbKsElA==",
"dev": true,
"hasInstallScript": true,
"license": "MIT OR Apache-2.0",
"bin": {
"biome": "bin/biome"
},
@@ -88,24 +88,25 @@
"url": "https://opencollective.com/biome"
},
"optionalDependencies": {
"@biomejs/cli-darwin-arm64": "1.9.4",
"@biomejs/cli-darwin-x64": "1.9.4",
"@biomejs/cli-linux-arm64": "1.9.4",
"@biomejs/cli-linux-arm64-musl": "1.9.4",
"@biomejs/cli-linux-x64": "1.9.4",
"@biomejs/cli-linux-x64-musl": "1.9.4",
"@biomejs/cli-win32-arm64": "1.9.4",
"@biomejs/cli-win32-x64": "1.9.4"
"@biomejs/cli-darwin-arm64": "2.1.4",
"@biomejs/cli-darwin-x64": "2.1.4",
"@biomejs/cli-linux-arm64": "2.1.4",
"@biomejs/cli-linux-arm64-musl": "2.1.4",
"@biomejs/cli-linux-x64": "2.1.4",
"@biomejs/cli-linux-x64-musl": "2.1.4",
"@biomejs/cli-win32-arm64": "2.1.4",
"@biomejs/cli-win32-x64": "2.1.4"
}
},
"node_modules/@biomejs/cli-darwin-arm64": {
"version": "1.9.4",
"resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-1.9.4.tgz",
"integrity": "sha512-bFBsPWrNvkdKrNCYeAp+xo2HecOGPAy9WyNyB/jKnnedgzl4W4Hb9ZMzYNbf8dMCGmUdSavlYHiR01QaYR58cw==",
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.1.4.tgz",
"integrity": "sha512-sCrNENE74I9MV090Wq/9Dg7EhPudx3+5OiSoQOkIe3DLPzFARuL1dOwCWhKCpA3I5RHmbrsbNSRfZwCabwd8Qg==",
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT OR Apache-2.0",
"optional": true,
"os": [
"darwin"
@@ -115,13 +116,14 @@
}
},
"node_modules/@biomejs/cli-darwin-x64": {
"version": "1.9.4",
"resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-1.9.4.tgz",
"integrity": "sha512-ngYBh/+bEedqkSevPVhLP4QfVPCpb+4BBe2p7Xs32dBgs7rh9nY2AIYUL6BgLw1JVXV8GlpKmb/hNiuIxfPfZg==",
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.1.4.tgz",
"integrity": "sha512-gOEICJbTCy6iruBywBDcG4X5rHMbqCPs3clh3UQ+hRKlgvJTk4NHWQAyHOXvaLe+AxD1/TNX1jbZeffBJzcrOw==",
"cpu": [
"x64"
],
"dev": true,
"license": "MIT OR Apache-2.0",
"optional": true,
"os": [
"darwin"
@@ -131,13 +133,14 @@
}
},
"node_modules/@biomejs/cli-linux-arm64": {
"version": "1.9.4",
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-1.9.4.tgz",
"integrity": "sha512-fJIW0+LYujdjUgJJuwesP4EjIBl/N/TcOX3IvIHJQNsAqvV2CHIogsmA94BPG6jZATS4Hi+xv4SkBBQSt1N4/g==",
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.1.4.tgz",
"integrity": "sha512-juhEkdkKR4nbUi5k/KRp1ocGPNWLgFRD4NrHZSveYrD6i98pyvuzmS9yFYgOZa5JhaVqo0HPnci0+YuzSwT2fw==",
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT OR Apache-2.0",
"optional": true,
"os": [
"linux"
@@ -147,13 +150,14 @@
}
},
"node_modules/@biomejs/cli-linux-arm64-musl": {
"version": "1.9.4",
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.9.4.tgz",
"integrity": "sha512-v665Ct9WCRjGa8+kTr0CzApU0+XXtRgwmzIf1SeKSGAv+2scAlW6JR5PMFo6FzqqZ64Po79cKODKf3/AAmECqA==",
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.1.4.tgz",
"integrity": "sha512-nYr7H0CyAJPaLupFE2cH16KZmRC5Z9PEftiA2vWxk+CsFkPZQ6dBRdcC6RuS+zJlPc/JOd8xw3uCCt9Pv41WvQ==",
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT OR Apache-2.0",
"optional": true,
"os": [
"linux"
@@ -163,13 +167,14 @@
}
},
"node_modules/@biomejs/cli-linux-x64": {
"version": "1.9.4",
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-1.9.4.tgz",
"integrity": "sha512-lRCJv/Vi3Vlwmbd6K+oQ0KhLHMAysN8lXoCI7XeHlxaajk06u7G+UsFSO01NAs5iYuWKmVZjmiOzJ0OJmGsMwg==",
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.1.4.tgz",
"integrity": "sha512-Eoy9ycbhpJVYuR+LskV9s3uyaIkp89+qqgqhGQsWnp/I02Uqg2fXFblHJOpGZR8AxdB9ADy87oFVxn9MpFKUrw==",
"cpu": [
"x64"
],
"dev": true,
"license": "MIT OR Apache-2.0",
"optional": true,
"os": [
"linux"
@@ -179,13 +184,14 @@
}
},
"node_modules/@biomejs/cli-linux-x64-musl": {
"version": "1.9.4",
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-1.9.4.tgz",
"integrity": "sha512-gEhi/jSBhZ2m6wjV530Yy8+fNqG8PAinM3oV7CyO+6c3CEh16Eizm21uHVsyVBEB6RIM8JHIl6AGYCv6Q6Q9Tg==",
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.1.4.tgz",
"integrity": "sha512-lvwvb2SQQHctHUKvBKptR6PLFCM7JfRjpCCrDaTmvB7EeZ5/dQJPhTYBf36BE/B4CRWR2ZiBLRYhK7hhXBCZAg==",
"cpu": [
"x64"
],
"dev": true,
"license": "MIT OR Apache-2.0",
"optional": true,
"os": [
"linux"
@@ -195,13 +201,14 @@
}
},
"node_modules/@biomejs/cli-win32-arm64": {
"version": "1.9.4",
"resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-1.9.4.tgz",
"integrity": "sha512-tlbhLk+WXZmgwoIKwHIHEBZUwxml7bRJgk0X2sPyNR3S93cdRq6XulAZRQJ17FYGGzWne0fgrXBKpl7l4M87Hg==",
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.1.4.tgz",
"integrity": "sha512-3WRYte7orvyi6TRfIZkDN9Jzoogbv+gSvR+b9VOXUg1We1XrjBg6WljADeVEaKTvOcpVdH0a90TwyOQ6ue4fGw==",
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT OR Apache-2.0",
"optional": true,
"os": [
"win32"
@@ -211,13 +218,14 @@
}
},
"node_modules/@biomejs/cli-win32-x64": {
"version": "1.9.4",
"resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-1.9.4.tgz",
"integrity": "sha512-8Y5wMhVIPaWe6jw2H+KlEm4wP/f7EW3810ZLmDlrEEy5KvBsb9ECEfu/kMWD484ijfQ8+nIi0giMgu9g1UAuuA==",
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.1.4.tgz",
"integrity": "sha512-tBc+W7anBPSFXGAoQW+f/+svkpt8/uXfRwDzN1DvnatkRMt16KIYpEi/iw8u9GahJlFv98kgHcIrSsZHZTR0sw==",
"cpu": [
"x64"
],
"dev": true,
"license": "MIT OR Apache-2.0",
"optional": true,
"os": [
"win32"
@@ -235,64 +243,69 @@
}
},
"node_modules/@octokit/auth-token": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-5.1.2.tgz",
"integrity": "sha512-JcQDsBdg49Yky2w2ld20IHAlwr8d/d8N6NiOXbtuoPCqzbsiJgF633mVUw3x4mo0H5ypataQIX7SFu3yy44Mpw==",
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-6.0.0.tgz",
"integrity": "sha512-P4YJBPdPSpWTQ1NU4XYdvHvXJJDxM6YwpS0FZHRgP7YFkdVxsWcpWGy/NVqlAA7PcPCnMacXlRm1y2PFZRWL/w==",
"license": "MIT",
"engines": {
"node": ">= 18"
"node": ">= 20"
}
},
"node_modules/@octokit/core": {
"version": "6.1.4",
"resolved": "https://registry.npmjs.org/@octokit/core/-/core-6.1.4.tgz",
"integrity": "sha512-lAS9k7d6I0MPN+gb9bKDt7X8SdxknYqAMh44S5L+lNqIN2NuV8nvv3g8rPp7MuRxcOpxpUIATWprO0C34a8Qmg==",
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/@octokit/core/-/core-7.0.3.tgz",
"integrity": "sha512-oNXsh2ywth5aowwIa7RKtawnkdH6LgU1ztfP9AIUCQCvzysB+WeU8o2kyyosDPwBZutPpjZDKPQGIzzrfTWweQ==",
"license": "MIT",
"dependencies": {
"@octokit/auth-token": "^5.0.0",
"@octokit/graphql": "^8.1.2",
"@octokit/request": "^9.2.1",
"@octokit/request-error": "^6.1.7",
"@octokit/types": "^13.6.2",
"before-after-hook": "^3.0.2",
"@octokit/auth-token": "^6.0.0",
"@octokit/graphql": "^9.0.1",
"@octokit/request": "^10.0.2",
"@octokit/request-error": "^7.0.0",
"@octokit/types": "^14.0.0",
"before-after-hook": "^4.0.0",
"universal-user-agent": "^7.0.0"
},
"engines": {
"node": ">= 18"
"node": ">= 20"
}
},
"node_modules/@octokit/endpoint": {
"version": "10.1.3",
"resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-10.1.3.tgz",
"integrity": "sha512-nBRBMpKPhQUxCsQQeW+rCJ/OPSMcj3g0nfHn01zGYZXuNDvvXudF/TYY6APj5THlurerpFN4a/dQAIAaM6BYhA==",
"version": "11.0.0",
"resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-11.0.0.tgz",
"integrity": "sha512-hoYicJZaqISMAI3JfaDr1qMNi48OctWuOih1m80bkYow/ayPw6Jj52tqWJ6GEoFTk1gBqfanSoI1iY99Z5+ekQ==",
"license": "MIT",
"dependencies": {
"@octokit/types": "^13.6.2",
"@octokit/types": "^14.0.0",
"universal-user-agent": "^7.0.2"
},
"engines": {
"node": ">= 18"
"node": ">= 20"
}
},
"node_modules/@octokit/graphql": {
"version": "8.1.2",
"resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-8.1.2.tgz",
"integrity": "sha512-bdlj/CJVjpaz06NBpfHhp4kGJaRZfz7AzC+6EwUImRtrwIw8dIgJ63Xg0OzV9pRn3rIzrt5c2sa++BL0JJ8GLw==",
"version": "9.0.1",
"resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-9.0.1.tgz",
"integrity": "sha512-j1nQNU1ZxNFx2ZtKmL4sMrs4egy5h65OMDmSbVyuCzjOcwsHq6EaYjOTGXPQxgfiN8dJ4CriYHk6zF050WEULg==",
"license": "MIT",
"dependencies": {
"@octokit/request": "^9.1.4",
"@octokit/types": "^13.6.2",
"@octokit/request": "^10.0.2",
"@octokit/types": "^14.0.0",
"universal-user-agent": "^7.0.0"
},
"engines": {
"node": ">= 18"
"node": ">= 20"
}
},
"node_modules/@octokit/openapi-types": {
"version": "23.0.1",
"resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-23.0.1.tgz",
"integrity": "sha512-izFjMJ1sir0jn0ldEKhZ7xegCTj/ObmEDlEfpFrx4k/JyZSMRHbO3/rBwgE7f3m2DHt+RrNGIVw4wSmwnm3t/g=="
"version": "25.1.0",
"resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.1.0.tgz",
"integrity": "sha512-idsIggNXUKkk0+BExUn1dQ92sfysJrje03Q0bv0e+KPLrvyqZF8MnBpFz8UNfYDwB3Ie7Z0TByjWfzxt7vseaA==",
"license": "MIT"
},
"node_modules/@octokit/plugin-paginate-rest": {
"version": "13.0.1",
"resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-13.0.1.tgz",
"integrity": "sha512-m1KvHlueScy4mQJWvFDCxFBTIdXS0K1SgFGLmqHyX90mZdCIv6gWBbKRhatxRjhGlONuTK/hztYdaqrTXcFZdQ==",
"version": "13.1.1",
"resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-13.1.1.tgz",
"integrity": "sha512-q9iQGlZlxAVNRN2jDNskJW/Cafy7/XE52wjZ5TTvyhyOD904Cvx//DNyoO3J/MXJ0ve3rPoNWKEg5iZrisQSuw==",
"license": "MIT",
"dependencies": {
"@octokit/types": "^14.1.0"
@@ -304,21 +317,6 @@
"@octokit/core": ">=6"
}
},
"node_modules/@octokit/plugin-paginate-rest/node_modules/@octokit/openapi-types": {
"version": "25.1.0",
"resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.1.0.tgz",
"integrity": "sha512-idsIggNXUKkk0+BExUn1dQ92sfysJrje03Q0bv0e+KPLrvyqZF8MnBpFz8UNfYDwB3Ie7Z0TByjWfzxt7vseaA==",
"license": "MIT"
},
"node_modules/@octokit/plugin-paginate-rest/node_modules/@octokit/types": {
"version": "14.1.0",
"resolved": "https://registry.npmjs.org/@octokit/types/-/types-14.1.0.tgz",
"integrity": "sha512-1y6DgTy8Jomcpu33N+p5w58l6xyt55Ar2I91RPiIA0xCJBXyUAhXCcmZaDWSANiha7R9a6qJJ2CRomGPZ6f46g==",
"license": "MIT",
"dependencies": {
"@octokit/openapi-types": "^25.1.0"
}
},
"node_modules/@octokit/plugin-rest-endpoint-methods": {
"version": "16.0.0",
"resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-16.0.0.tgz",
@@ -334,13 +332,35 @@
"@octokit/core": ">=6"
}
},
"node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/openapi-types": {
"version": "25.1.0",
"resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.1.0.tgz",
"integrity": "sha512-idsIggNXUKkk0+BExUn1dQ92sfysJrje03Q0bv0e+KPLrvyqZF8MnBpFz8UNfYDwB3Ie7Z0TByjWfzxt7vseaA==",
"license": "MIT"
"node_modules/@octokit/request": {
"version": "10.0.3",
"resolved": "https://registry.npmjs.org/@octokit/request/-/request-10.0.3.tgz",
"integrity": "sha512-V6jhKokg35vk098iBqp2FBKunk3kMTXlmq+PtbV9Gl3TfskWlebSofU9uunVKhUN7xl+0+i5vt0TGTG8/p/7HA==",
"license": "MIT",
"dependencies": {
"@octokit/endpoint": "^11.0.0",
"@octokit/request-error": "^7.0.0",
"@octokit/types": "^14.0.0",
"fast-content-type-parse": "^3.0.0",
"universal-user-agent": "^7.0.2"
},
"node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types": {
"engines": {
"node": ">= 20"
}
},
"node_modules/@octokit/request-error": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-7.0.0.tgz",
"integrity": "sha512-KRA7VTGdVyJlh0cP5Tf94hTiYVVqmt2f3I6mnimmaVz4UG3gQV/k4mDJlJv3X67iX6rmN7gSHCF8ssqeMnmhZg==",
"license": "MIT",
"dependencies": {
"@octokit/types": "^14.0.0"
},
"engines": {
"node": ">= 20"
}
},
"node_modules/@octokit/types": {
"version": "14.1.0",
"resolved": "https://registry.npmjs.org/@octokit/types/-/types-14.1.0.tgz",
"integrity": "sha512-1y6DgTy8Jomcpu33N+p5w58l6xyt55Ar2I91RPiIA0xCJBXyUAhXCcmZaDWSANiha7R9a6qJJ2CRomGPZ6f46g==",
@@ -349,40 +369,6 @@
"@octokit/openapi-types": "^25.1.0"
}
},
"node_modules/@octokit/request": {
"version": "9.2.2",
"resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.2.2.tgz",
"integrity": "sha512-dZl0ZHx6gOQGcffgm1/Sf6JfEpmh34v3Af2Uci02vzUYz6qEN6zepoRtmybWXIGXFIK8K9ylE3b+duCWqhArtg==",
"dependencies": {
"@octokit/endpoint": "^10.1.3",
"@octokit/request-error": "^6.1.7",
"@octokit/types": "^13.6.2",
"fast-content-type-parse": "^2.0.0",
"universal-user-agent": "^7.0.2"
},
"engines": {
"node": ">= 18"
}
},
"node_modules/@octokit/request-error": {
"version": "6.1.7",
"resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.7.tgz",
"integrity": "sha512-69NIppAwaauwZv6aOzb+VVLwt+0havz9GT5YplkeJv7fG7a40qpLt/yZKyiDxAhgz0EtgNdNcb96Z0u+Zyuy2g==",
"dependencies": {
"@octokit/types": "^13.6.2"
},
"engines": {
"node": ">= 18"
}
},
"node_modules/@octokit/types": {
"version": "13.8.0",
"resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.8.0.tgz",
"integrity": "sha512-x7DjTIbEpEWXK99DMd01QfWy0hd5h4EN+Q7shkdKds3otGQP+oWE/y0A76i1OvH9fygo4ddvNf7ZvF0t78P98A==",
"dependencies": {
"@octokit/openapi-types": "^23.0.1"
}
},
"node_modules/@renovatebot/pep440": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/@renovatebot/pep440/-/pep440-4.1.0.tgz",
@@ -401,13 +387,13 @@
"license": "MIT"
},
"node_modules/@types/node": {
"version": "22.15.21",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.21.tgz",
"integrity": "sha512-EV/37Td6c+MgKAbkcLG6vqZ2zEYHD7bvSrzqqs2RIhbA6w3x+Dqz8MZM3sP6kGTeLrdoOgKZe+Xja7tUB2DNkQ==",
"version": "24.2.1",
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.2.1.tgz",
"integrity": "sha512-DRh5K+ka5eJic8CjH7td8QpYEV6Zo10gfRkjHCO3weqZHWDtAaSTFtl4+VMqOJ4N5jcuhZ9/l+yy8rVgw7BQeQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"undici-types": "~6.21.0"
"undici-types": "~7.10.0"
}
},
"node_modules/@types/semver": {
@@ -433,14 +419,15 @@
"dev": true
},
"node_modules/before-after-hook": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-3.0.2.tgz",
"integrity": "sha512-Nik3Sc0ncrMK4UUdXQmAnRtzmNQTAAXmXIopizwZ1W1t8QmfJj+zL4OA2I7XPTPW5z5TDqv4hRo/JzouDJnX3A=="
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-4.0.0.tgz",
"integrity": "sha512-q6tR3RPqIB1pMiTRMFcZwuG5T8vwp+vUvEG0vuI6B+Rikh5BfPp2fQ82c925FOs+b0lcFQ8CFrL+KbilfZFhOQ==",
"license": "Apache-2.0"
},
"node_modules/fast-content-type-parse": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/fast-content-type-parse/-/fast-content-type-parse-2.0.1.tgz",
"integrity": "sha512-nGqtvLrj5w0naR6tDPfB4cUmYCqouzyQiz6C5y/LtcDllJdrcc6WaWW6iXyIIOErTa/XRybj28aasdn4LkVk6Q==",
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/fast-content-type-parse/-/fast-content-type-parse-3.0.0.tgz",
"integrity": "sha512-ZvLdcY8P+N8mGQJahJV5G4U88CSvT1rP8ApL6uETe88MBXrBHAkZlSEySdUlyztF7ccb+Znos3TFqaepHxdhBg==",
"funding": [
{
"type": "github",
@@ -450,7 +437,8 @@
"type": "opencollective",
"url": "https://opencollective.com/fastify"
}
]
],
"license": "MIT"
},
"node_modules/js-yaml": {
"version": "4.1.0",
@@ -473,9 +461,10 @@
}
},
"node_modules/smol-toml": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.3.1.tgz",
"integrity": "sha512-tEYNll18pPKHroYSmLLrksq233j021G0giwW7P3D24jC54pQ5W5BXMsQ/Mvw1OJCmEYDgY+lrzT+3nNUtoNfXQ==",
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.4.1.tgz",
"integrity": "sha512-CxdwHXyYTONGHThDbq5XdwbFsuY4wlClRGejfE2NtwUtiHYsP1QtNsHb/hnj31jKYSchztJsaA8pSQoVzkfCFg==",
"license": "BSD-3-Clause",
"engines": {
"node": ">= 18"
},
@@ -492,9 +481,9 @@
}
},
"node_modules/typescript": {
"version": "5.8.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz",
"integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==",
"version": "5.9.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.2.tgz",
"integrity": "sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==",
"dev": true,
"license": "Apache-2.0",
"bin": {
@@ -518,16 +507,17 @@
}
},
"node_modules/undici-types": {
"version": "6.21.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
"integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
"version": "7.10.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.10.0.tgz",
"integrity": "sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag==",
"dev": true,
"license": "MIT"
},
"node_modules/universal-user-agent": {
"version": "7.0.2",
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz",
"integrity": "sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q=="
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.3.tgz",
"integrity": "sha512-TmnEAEAsBJVZM/AADELsK76llnwcf9vMKuPz8JflO1frO8Lchitr0fNaN9d+Ap0BjKtqWqd/J17qeDnXh8CL2A==",
"license": "ISC"
}
}
}
+8 -10
View File
@@ -6,13 +6,11 @@
"main": "dist/ruff-action/index.js",
"scripts": {
"build": "tsc",
"format": "biome format --fix",
"format-check": "biome format",
"lint": "biome lint --fix",
"check": "biome check --write",
"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)\"",
"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 install && npm run build && npm run format && npm run lint && npm run package"
"all": "npm install && npm run build && npm run check && npm run package"
},
"repository": {
"type": "git",
@@ -25,19 +23,19 @@
"@actions/core": "^1.11.1",
"@actions/exec": "^1.1.1",
"@actions/tool-cache": "^2.0.2",
"@octokit/core": "^6.1.4",
"@octokit/plugin-paginate-rest": "^13.0.1",
"@octokit/core": "^7.0.3",
"@octokit/plugin-paginate-rest": "^13.1.1",
"@octokit/plugin-rest-endpoint-methods": "^16.0.0",
"@renovatebot/pep440": "^4.1.0",
"smol-toml": "^1.3.1"
"smol-toml": "^1.4.1"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@biomejs/biome": "2.1.4",
"@types/js-yaml": "^4.0.9",
"@types/node": "^22.15.21",
"@types/node": "^24.2.1",
"@types/semver": "^7.7.0",
"@vercel/ncc": "^0.38.3",
"js-yaml": "^4.1.0",
"typescript": "^5.8.3"
"typescript": "^5.9.2"
}
}
+3 -3
View File
@@ -1,9 +1,9 @@
import * as fs from "node:fs";
import * as crypto from "node:crypto";
import * as fs from "node:fs";
import * as core from "@actions/core";
import { KNOWN_CHECKSUMS } from "./known-checksums";
import type { Architecture, Platform } from "../../utils/platforms";
import { KNOWN_CHECKSUMS } from "./known-checksums";
export async function validateChecksum(
checkSum: string | undefined,
@@ -12,7 +12,7 @@ export async function validateChecksum(
platform: Platform,
version: string,
): Promise<void> {
let isValid: boolean | undefined = undefined;
let isValid: boolean | undefined;
if (checkSum !== undefined && checkSum !== "") {
isValid = await validateFileCheckSum(downloadPath, checkSum);
} else {
+340
View File
@@ -1,5 +1,345 @@
// AUTOGENERATED_DO_NOT_EDIT
export const KNOWN_CHECKSUMS: { [key: string]: string } = {
"aarch64-apple-darwin-0.12.8":
"d7ddfc029858b97452e728c229b0378e3dde5300b23df5cc5c77296025971379",
"aarch64-pc-windows-msvc-0.12.8":
"99cedac1f9b7a321a0e2b81ded68bbaf5dbff6aedac528766eda50d3871ccce9",
"aarch64-unknown-linux-gnu-0.12.8":
"fc4a79cfe90c8e4f7bfdad2198e939b70416916a7e90f687f30490b25e2171d6",
"aarch64-unknown-linux-musl-0.12.8":
"6840915d3f11a32ac00368206d7a4c957d2d499bc324ab39a3a0a851fda07dc2",
"arm-unknown-linux-musleabihf-0.12.8":
"cf549a91db1de22bde9562725d748625a23d41050f2e3ef9a6dca0b6abaa3ca3",
"armv7-unknown-linux-gnueabihf-0.12.8":
"b69472a32bc355f7cbc61d939d3ea1cbf1ab42f1bddd56f4ad53af1a372dab55",
"armv7-unknown-linux-musleabihf-0.12.8":
"0de514e00cfccff21fd52315f439e52ac95f02539487a78ea864df5d8627e77e",
"i686-pc-windows-msvc-0.12.8":
"50bd0eea8f4dc8a94a96cc64f3f61163421f02230672e12b5a91068c7585f7e1",
"i686-unknown-linux-gnu-0.12.8":
"3363c9c7b41fec9ad680f9bb32b65fffb30bd582e0fc2ae5d3ee8c51e3fc8347",
"i686-unknown-linux-musl-0.12.8":
"73dbe5b0718322479e7e78abf598c626d7ffc8cf10a2ebc54524fb0e0118fa37",
"powerpc64-unknown-linux-gnu-0.12.8":
"570dda0a1f5683eb2124491356694fcd2d5b13efc43f2b2f7315fe187fc2add5",
"powerpc64le-unknown-linux-gnu-0.12.8":
"73bab12d97b6ecd54d8e338f57ab90b3c06e6bdb965bd9ea1613a2c11eb24256",
"s390x-unknown-linux-gnu-0.12.8":
"001f98c87871a617fda8addc74954b79b8c10875feade4a187de79daf8613fcc",
"x86_64-apple-darwin-0.12.8":
"5c795cae1956a1d1c84e1d93c952b627da1541311fdbb09885bf9d80b0e2cc42",
"x86_64-pc-windows-msvc-0.12.8":
"223d7691fc68bfcfb0bbefa35e5d63998721367404573d883e97583fe73a7682",
"x86_64-unknown-linux-gnu-0.12.8":
"ac0edfd0935dfedc884f2ddeab6705b4875e7e84aa9f1c7af78233492ebecdb0",
"x86_64-unknown-linux-musl-0.12.8":
"0062142b6277177f196a9dd7cf1bcf10f536f8a33c458d258525504f94760227",
"aarch64-apple-darwin-0.12.7":
"86b39b4002bb12588af972ad56cfddc1eaa0879c4badb07f0021fae77b5cd958",
"aarch64-pc-windows-msvc-0.12.7":
"35b51d47463eebfc2d39863222a19540e73ddda5b1662b88e774580a7ac526a4",
"aarch64-unknown-linux-gnu-0.12.7":
"0d4bb492a02cf191a2e1e058cf819c2ed86c05ea444de5e3895ba75c890a9804",
"aarch64-unknown-linux-musl-0.12.7":
"5f97261a334af4f4ba41baa5cea0f0dfd8d732d9ab22beb5bf0639804389bfa3",
"arm-unknown-linux-musleabihf-0.12.7":
"ec0d3cf0c6721b1c4c7480995d8a538b217c9dcf37f64389f05a0bea7ff308b9",
"armv7-unknown-linux-gnueabihf-0.12.7":
"59f8f6d19faa61f3ca6e7127a3e34470028bed90e40bebacf7c8be48d3080140",
"armv7-unknown-linux-musleabihf-0.12.7":
"6ce861317f812b69c68a92c6f6afbb68b99bab4525758b9bad659f94a6fd2429",
"i686-pc-windows-msvc-0.12.7":
"becca8cf66388f2532477ad28fae2bd3ccfda8635f4fd68d7139914020203ff6",
"i686-unknown-linux-gnu-0.12.7":
"65bbeba7444f62cc403591999d7bfbf3aec0e2ecae869c969c9faf096a737279",
"i686-unknown-linux-musl-0.12.7":
"0fd4cc8e5f2f02acd208482da316fdb4ecc2179d11bf0aa61d7622ba7100e889",
"powerpc64-unknown-linux-gnu-0.12.7":
"81efd82ed616aa951499cf4012420adfbc4cac0b39375623bbecbf79a4d08098",
"powerpc64le-unknown-linux-gnu-0.12.7":
"46360fc4d0b498a3ebfc9ee73ee6b2b59db3ace21dbf12ba41e5fb15dfb71364",
"s390x-unknown-linux-gnu-0.12.7":
"ef03f40de21e9eed3e66626d3af768b3f9a82cd2e8cd62bc887bcd206a2ccdce",
"x86_64-apple-darwin-0.12.7":
"f0179a587d5509f32ab16bd95cdf64ddcebc80d653e3674161d366312a4eaf7a",
"x86_64-pc-windows-msvc-0.12.7":
"12a239698d4f0926523cb51a9b00a560615d6237e9a748c563a74f4708f4abdf",
"x86_64-unknown-linux-gnu-0.12.7":
"65b1ec7ba8feda6cbe52aec168f32e5c276577065914fca922b9a8b3f42db433",
"x86_64-unknown-linux-musl-0.12.7":
"58aeb49137d0a9df810ba26c778d10d612f8c1439439527a6a95c90ea318c7c5",
"aarch64-apple-darwin-0.12.5":
"8819b61cff645c1d1671df331bb57c1ab230094b686942bccedde1f888feb522",
"aarch64-pc-windows-msvc-0.12.5":
"b5f06365b87c4d90de76dbd17379db937faa49cd37a931f1908e7c94a604dcd4",
"aarch64-unknown-linux-gnu-0.12.5":
"6d00576ccef50b5627ded90879430acd40d590bbc7b354af0549f41fe2f58fcf",
"aarch64-unknown-linux-musl-0.12.5":
"f147ccdbe26d35f2752c6d97d158bc8e3b4d1833d283748fc48f350c698a6f7b",
"arm-unknown-linux-musleabihf-0.12.5":
"c6aaa6d90cd2abad0650e968defa8e30dd065ea05ef6391716302cc8e6e34287",
"armv7-unknown-linux-gnueabihf-0.12.5":
"e479a5f64160f814b44415ccdc834b0f85b539bc286eb8c09199a7aeefa6bf06",
"armv7-unknown-linux-musleabihf-0.12.5":
"04b7b507752e6f62fffefa3d02d31e96a7e8fb31f699dbc83fb814d7c3c4bb15",
"i686-pc-windows-msvc-0.12.5":
"a0c5b5be39841055fa7b4255cbcc9e8761a1328f461d2335dd53cc195b7c51bb",
"i686-unknown-linux-gnu-0.12.5":
"0c95dc3c5711fccccf26a1aef9a620d6a1fd2faa8485e38ec91d836f7d2200e1",
"i686-unknown-linux-musl-0.12.5":
"d223f9db886191de0c80c5e2519f413dce0281080f6bc9eecbaff18e2c474d52",
"powerpc64-unknown-linux-gnu-0.12.5":
"c436a319fec80a7b23591fbd15b2c224a3b30a5c0dc257d150f684a8c45dc147",
"powerpc64le-unknown-linux-gnu-0.12.5":
"26ccf69bb0a6b98b8ad0d7e566acacbd86e2fbbd734ea98b854e40237905a9c9",
"s390x-unknown-linux-gnu-0.12.5":
"c8f8ef8f4ce2930085f7e3e17ee58936938b41c9753c2a9aeab0a6473138887a",
"x86_64-apple-darwin-0.12.5":
"5af0b2931581a5ed91743c9f669c23cb0db9bb1f0c49f8695ad1443dbc6a9e50",
"x86_64-pc-windows-msvc-0.12.5":
"91b88d365f60e3b641d5204a87d56275cd1b4a869f939b637b06e1d6e9fd38e1",
"x86_64-unknown-linux-gnu-0.12.5":
"1ef5e978c41c67feaa5447d97a4400f5f0136c92d6507a876d81f1a2fd64d154",
"x86_64-unknown-linux-musl-0.12.5":
"79beb4eac07beaea24774709eeb88a87115f1b53f857dcc1155431e642e01ade",
"aarch64-apple-darwin-0.12.4":
"be7dc64e69a31b1bb9e875274778c1b65c9470ff18214232aa35fc843e5a6826",
"aarch64-pc-windows-msvc-0.12.4":
"859739ae8f64f39512f637ecc56ca12adfdc0d45f79f2ce1ba53d5111d92e753",
"aarch64-unknown-linux-gnu-0.12.4":
"8ce8faaeeb277f7481eb6fb21d1073365f1e633513f67542d245fad2aeebabca",
"aarch64-unknown-linux-musl-0.12.4":
"adab1c084dbe508c134a354e277b6706da98e89c84aee619cbff37fff5f0b8fc",
"arm-unknown-linux-musleabihf-0.12.4":
"0357e038b60ef8c879d625474f0c93e31601a3e648836ccf4dfcf85ffa7897d3",
"armv7-unknown-linux-gnueabihf-0.12.4":
"dd6f50075a6b02878d35b21a192ba6ec1a7b43be21b882f6363cceac19e457f7",
"armv7-unknown-linux-musleabihf-0.12.4":
"1286d7520f616f797427a492e51f2f53248505661c86ed30d141379f595ad049",
"i686-pc-windows-msvc-0.12.4":
"5f6a09e123059e7b434edc68b5ed5e8d2af8156cf10506a3587c51ecc1ffcab1",
"i686-unknown-linux-gnu-0.12.4":
"a19cc2babc73065184e60ee41a1157e94f290261175cbc51b11038ebb0dde84a",
"i686-unknown-linux-musl-0.12.4":
"c230fe5125497ba667bbe554759bdbd43d7e45855762ce35afc7e1bccd4300ed",
"powerpc64-unknown-linux-gnu-0.12.4":
"d8f029b295985aeb0ec877e232d43f56e452792e8edabcc82b1094ac2d07c006",
"powerpc64le-unknown-linux-gnu-0.12.4":
"60ac64921ff538beb3cbe8d91b56bda14dffaa7f4c398ebbedb0ff358b1c71c8",
"s390x-unknown-linux-gnu-0.12.4":
"78319ca0b164c84cb8a0f8bbe13372c9dd4d26cbc286b78c34bb5e947695fe08",
"x86_64-apple-darwin-0.12.4":
"2c829e3128354900495ad91d0401e2284e70121bae67cfcb264eea3a639381a5",
"x86_64-pc-windows-msvc-0.12.4":
"0fcadba5764177cc79d3b1bdf56481e71977dd167efd1073f9db9b719e34ed38",
"x86_64-unknown-linux-gnu-0.12.4":
"bc783b6b4b4a253ec2d9baf5ce559aa3a41570a14ae865cac3cdd11ef28403a7",
"x86_64-unknown-linux-musl-0.12.4":
"41117fc1c67eb9572c50403297bd5fcb8cec99d8a1566badec7ff1a03f8a356d",
"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":
+18 -9
View File
@@ -1,15 +1,15 @@
import { promises as fs } from "node:fs";
import * as path from "node:path";
import * as core from "@actions/core";
import * as tc from "@actions/tool-cache";
import * as path from "node:path";
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 type { Architecture, Platform } from "../utils/platforms";
import { validateChecksum } from "./checksum/checksum";
import { Octokit } from "@octokit/core";
import { paginateRest } from "@octokit/plugin-paginate-rest";
import { restEndpointMethods } from "@octokit/plugin-rest-endpoint-methods";
import * as pep440 from "@renovatebot/pep440";
import * as semver from "semver";
import { OWNER, REPO, TOOL_CACHE_NAME } from "../utils/constants";
import type { Architecture, Platform } from "../utils/platforms";
import { validateChecksum } from "./checksum/checksum";
const PaginatingOctokit = Octokit.plugin(paginateRest, restEndpointMethods);
@@ -25,7 +25,7 @@ export function tryGetFromToolCache(
resolvedVersion = version;
}
const installedPath = tc.find(TOOL_CACHE_NAME, resolvedVersion, arch);
return { version: resolvedVersion, installedPath };
return { installedPath, version: resolvedVersion };
}
export async function downloadVersion(
@@ -65,7 +65,7 @@ export async function downloadVersion(
version,
arch,
);
return { version: version, cachedToolDir };
return { cachedToolDir, version: version };
}
function constructDownloadUrl(
@@ -158,6 +158,12 @@ async function getReleaseTagNames(
owner: OWNER,
repo: REPO,
});
const releaseTagNames = response.map((release) => release.tag_name);
if (releaseTagNames.length === 0) {
throw Error(
"Github API request failed while getting releases. Check the GitHub status page for outages. Try again later.",
);
}
return response.map((release) => release.tag_name);
}
@@ -177,6 +183,9 @@ async function getLatestVersion(githubToken: string) {
const octokit = new PaginatingOctokit();
latestRelease = await getLatestRelease(octokit);
} else {
core.error(
"Github API request failed while getting latest release. Check the GitHub status page for outages. Try again later.",
);
throw err;
}
}
+9 -10
View File
@@ -1,18 +1,13 @@
import * as fs from "node:fs";
import * as path from "node:path";
import * as core from "@actions/core";
import * as exec from "@actions/exec";
import * as path from "node:path";
import * as semver from "semver";
import {
downloadVersion,
resolveVersion,
tryGetFromToolCache,
} from "./download/download-version";
import {
type Architecture,
getArch,
getPlatform,
type Platform,
} from "./utils/platforms";
import {
args,
checkSum,
@@ -21,9 +16,13 @@ import {
version,
versionFile as versionFileInput,
} from "./utils/inputs";
import {
type Architecture,
getArch,
getPlatform,
type Platform,
} from "./utils/platforms";
import { getRuffVersionFromRequirementsFile } from "./utils/pyproject";
import * as fs from "node:fs";
import * as semver from "semver";
async function run(): Promise<void> {
const platform = getPlatform();
+2 -4
View File
@@ -1,12 +1,10 @@
import { Octokit } from "@octokit/core";
import * as core from "@actions/core";
import { Octokit } from "@octokit/core";
import { paginateRest } from "@octokit/plugin-paginate-rest";
import { restEndpointMethods } from "@octokit/plugin-rest-endpoint-methods";
import { OWNER, REPO } from "./utils/constants";
import * as semver from "semver";
import { updateChecksums } from "./download/checksum/update-known-checksums";
import { OWNER, REPO } from "./utils/constants";
const PaginatingOctokit = Octokit.plugin(paginateRest, restEndpointMethods);
+2 -2
View File
@@ -9,9 +9,9 @@ export type Architecture = "i686" | "x86_64" | "aarch64";
export function getArch(): Architecture | undefined {
const arch = process.arch;
const archMapping: { [key: string]: Architecture } = {
arm64: "aarch64",
ia32: "i686",
x64: "x86_64",
arm64: "aarch64",
};
if (arch in archMapping) {
@@ -22,8 +22,8 @@ export function getArch(): Architecture | undefined {
export function getPlatform(): Platform | undefined {
const platform = process.platform;
const platformMapping: { [key: string]: Platform } = {
linux: "unknown-linux-gnu",
darwin: "apple-darwin",
linux: "unknown-linux-gnu",
win32: "pc-windows-msvc",
};
+6 -1
View File
@@ -31,6 +31,7 @@ interface Pyproject {
"dependency-groups"?: Record<string, Array<string | object>>;
tool?: {
poetry?: {
dependencies?: Record<string, string | object>;
group?: Record<string, { dependencies: Record<string, string | object> }>;
};
};
@@ -59,7 +60,11 @@ function getRuffVersionFromPoetryGroups(
): string | undefined {
// Special handling for Poetry until it supports PEP 735
// See: <https://github.com/python-poetry/poetry/issues/9751>
const poetryGroups = Object.values(pyproject?.tool?.poetry?.group || {});
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]) => {
+3 -3
View File
@@ -1,12 +1,12 @@
{
"compilerOptions": {
"target": "ES2022" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */,
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
"noImplicitAny": true /* Raise error on expressions and declarations with an implied 'any' type. */,
"outDir": "./lib" /* Redirect output structure to the directory. */,
"rootDir": "./src" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */,
"strict": true /* Enable all strict type-checking options. */,
"noImplicitAny": true /* Raise error on expressions and declarations with an implied 'any' type. */,
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"target": "ES2022" /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
},
"exclude": ["node_modules", "**/*.test.ts"]
}