Commit graph

469 commits

Author SHA1 Message Date
dependabot[bot]
5de4841a3e
chore(deps): bump actions/checkout from 3 to 4 (#894) 2023-09-11 18:52:08 +08:00
Boshen
1d03ec32ff
ci(benchmark): install toolchain first 2023-09-09 15:46:34 +08:00
Boshen
28f728f0c0
chore(fuzz): add --sanitizer none command 2023-09-09 12:15:57 +08:00
Boshen
a2dbfeeb25
refactor: clean up fuzzer, move it to repo root (#872) 2023-09-09 11:58:32 +08:00
Boshen
56aaf31fb1
refactor(benchmark): use codspeed for all benchmarks (#839) 2023-09-02 20:35:48 +08:00
Boshen
e4a3838ecb
chore(resolver): benchmark with codspeed (#838) 2023-09-02 18:27:37 +08:00
Boshen
82e64f8527
ci: remove codecov from PRs
Because we don't use this metric when review PRs.
It also runs too slow for our PRs.
2023-09-02 17:57:23 +08:00
Boshen
75af639d4a
chore(rust): remove unicode support from regex for smaller binary size (#823) 2023-09-01 12:42:58 +08:00
dependabot[bot]
aa1277caed
chore(deps): bump EndBug/version-check from 1 to 2 (#825)
Bumps [EndBug/version-check](https://github.com/endbug/version-check)
from 1 to 2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/endbug/version-check/releases">EndBug/version-check's
releases</a>.</em></p>
<blockquote>
<h2>v2.0.0</h2>
<p>From now on, the <code>changed</code> output will always be either
<code>'true'</code> or <code>'false'</code>, and never
<code>undefined</code>.</p>
<h2>v1.6.0</h2>
<p>You can now use the <code>::before</code> tag in private repos (PR <a
href="https://redirect.github.com/endbug/version-check/issues/27">#27</a>)</p>
<h2>v1.5.0</h2>
<p>You can now use <code>::before</code> as the <code>file-url</code>
parameter: it will resolve to the file from the commit before the push
event that triggered the workflow run.
Also, this repo now follows the All Contributors specifications </p>
<h2>v1.4.0</h2>
<p>This version adds three new options: <code>file-url</code>,
<code>assume-same-version</code> and <code>static-checking</code>.
Please see the README to find out how to use them.
As always, if you find any bugs please let me know by opening a new
issue in this repo.</p>
<h2>v1.3.0</h2>
<p>This version adds two features:</p>
<ul>
<li>The action can now be used with PRs</li>
<li>The action now has a <code>commit</code> output, from which you can
grab the sha of the commit where the version change has been
detected</li>
</ul>
<h2>v1.2.2</h2>
<p>This makes the action automatically build with
<code>@zeit/ncc</code>. No significant changes should be noticed by the
end user, if not a slight improvement in performance.</p>
<h2>v1.2.1</h2>
<p>This patch fixes issue <a
href="https://redirect.github.com/endbug/version-check/issues/11">#11</a>:
the action wasn't detecting versions with a more complex format, like
<code>1.2.3-alpha.10.beta.0+build.unicorn.rainbow</code>, because it was
stopping at the patch number (<code>1.2.3</code>). This should now be
fixed</p>
<h2>v1.2.0</h2>
<p>This release adds the <code>version</code> output: it's a string with
the new version, and can be used to, for example, create a new release
with the version name.</p>
<h2>v1.1.1</h2>
<p>This release is just to add the major version tag <code>v1</code>,
which can be used to keep the action updated while avoiding breaking
changes.</p>
<h2>v1.1.0</h2>
<p>This version adds support for private repositories, you just need to
pass the bearer GitHub token as an input. You can find more info about
that on the action page.</p>
<h2>v1.0.1</h2>
<p>This adds a useful example if you want to use this action to publish
your package to both NPM and GitHub Package Registry.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="323ba664f1"><code>323ba66</code></a>
2.1.1</li>
<li><a
href="6d2f38ddd5"><code>6d2f38d</code></a>
docs: add Gerrit0 as a contributor for code (<a
href="https://redirect.github.com/endbug/version-check/issues/185">#185</a>)</li>
<li><a
href="82e9bfe44e"><code>82e9bfe</code></a>
Update to Node 16 (<a
href="https://redirect.github.com/endbug/version-check/issues/184">#184</a>)</li>
<li><a
href="d2a27886f3"><code>d2a2788</code></a>
chore(deps-dev): bump all-contributors-cli from 6.22.0 to 6.23.1 (<a
href="https://redirect.github.com/endbug/version-check/issues/183">#183</a>)</li>
<li><a
href="dc6b9cdf68"><code>dc6b9cd</code></a>
[auto] build: update compiled version</li>
<li><a
href="9dda8f6b23"><code>9dda8f6</code></a>
chore(deps-dev): bump all-contributors-cli from 6.20.5 to 6.22.0 (<a
href="https://redirect.github.com/endbug/version-check/issues/182">#182</a>)</li>
<li><a
href="1da399082b"><code>1da3990</code></a>
chore(deps): bump <code>@​actions/core</code> from 1.9.1 to 1.10.0 (<a
href="https://redirect.github.com/endbug/version-check/issues/181">#181</a>)</li>
<li><a
href="254e871301"><code>254e871</code></a>
chore(deps-dev): bump typescript from 4.8.3 to 4.8.4 (<a
href="https://redirect.github.com/endbug/version-check/issues/180">#180</a>)</li>
<li><a
href="e3c71fe61d"><code>e3c71fe</code></a>
chore(deps-dev): bump all-contributors-cli from 6.20.4 to 6.20.5 (<a
href="https://redirect.github.com/endbug/version-check/issues/179">#179</a>)</li>
<li><a
href="e285746efc"><code>e285746</code></a>
chore(deps-dev): bump all-contributors-cli from 6.20.0 to 6.20.4 (<a
href="https://redirect.github.com/endbug/version-check/issues/178">#178</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/endbug/version-check/compare/v1...v2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=EndBug/version-check&package-manager=github_actions&previous-version=1&new-version=2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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

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

---

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

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


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-01 11:39:38 +08:00
dependabot[bot]
40d5f3b841
chore(deps): bump peter-evans/create-or-update-comment from 2 to 3 (#824)
Bumps
[peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment)
from 2 to 3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/peter-evans/create-or-update-comment/releases">peter-evans/create-or-update-comment's
releases</a>.</em></p>
<blockquote>
<h2>Create or Update Comment v3.0.0</h2>
<h2>What's new</h2>
<ul>
<li>Now supports replacing reactions on a comment by setting input
<code>reactions-edit-mode</code> to <code>replace</code>. The default
behaviour has not changed and will <code>append</code> reactions.</li>
<li>Chose how the action should append the comment body with input
<code>append-separator</code>. The default behaviour is to add a
<code>newline</code>. Other options are <code>space</code> and
<code>none</code>.</li>
<li><code>body-file</code> is deprecated in favour of
<code>body-path</code>. The behaviour is unchanged.</li>
</ul>
<h2>What's Changed</h2>
<ul>
<li>v3 by <a
href="https://github.com/peter-evans"><code>@​peter-evans</code></a> in
<a
href="https://redirect.github.com/peter-evans/create-or-update-comment/pull/161">peter-evans/create-or-update-comment#161</a></li>
<li>Update some links in the README by <a
href="https://github.com/Kurt-von-Laven"><code>@​Kurt-von-Laven</code></a>
in <a
href="https://redirect.github.com/peter-evans/create-or-update-comment/pull/152">peter-evans/create-or-update-comment#152</a></li>
<li>9 dependency updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/Kurt-von-Laven"><code>@​Kurt-von-Laven</code></a>
made their first contribution in <a
href="https://redirect.github.com/peter-evans/create-or-update-comment/pull/152">peter-evans/create-or-update-comment#152</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/peter-evans/create-or-update-comment/compare/v2.1.1...v3.0.0">https://github.com/peter-evans/create-or-update-comment/compare/v2.1.1...v3.0.0</a></p>
<h2>Create or Update Comment v2.1.1</h2>
<p>⚙️ Fixes the recent Json5 vulnerability.</p>
<h2>What's Changed</h2>
<ul>
<li>11 dependency updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/peter-evans/create-or-update-comment/compare/v2.1.0...v2.1.1">https://github.com/peter-evans/create-or-update-comment/compare/v2.1.0...v2.1.1</a></p>
<h2>Create or Update Comment v2.1.0</h2>
<p> Adds input <code>body-file</code>, the path to a file containing
the comment body.</p>
<h2>What's Changed</h2>
<ul>
<li>Replace set-output by <a
href="https://github.com/peter-evans"><code>@​peter-evans</code></a> in
<a
href="https://redirect.github.com/peter-evans/create-or-update-comment/pull/130">peter-evans/create-or-update-comment#130</a></li>
<li>Bump chuhlomin/render-template from 1.5 to 1.6 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/peter-evans/create-or-update-comment/pull/132">peter-evans/create-or-update-comment#132</a></li>
<li>Support reading body from a file by <a
href="https://github.com/umanghome"><code>@​umanghome</code></a> in <a
href="https://redirect.github.com/peter-evans/create-or-update-comment/pull/115">peter-evans/create-or-update-comment#115</a></li>
<li>Add input body-file by <a
href="https://github.com/peter-evans"><code>@​peter-evans</code></a> in
<a
href="https://redirect.github.com/peter-evans/create-or-update-comment/pull/133">peter-evans/create-or-update-comment#133</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/umanghome"><code>@​umanghome</code></a>
made their first contribution in <a
href="https://redirect.github.com/peter-evans/create-or-update-comment/pull/115">peter-evans/create-or-update-comment#115</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/peter-evans/create-or-update-comment/compare/v2.0.1...v2.1.0">https://github.com/peter-evans/create-or-update-comment/compare/v2.0.1...v2.1.0</a></p>
<h2>Create or Update Comment v2.0.1</h2>
<p>⚙️ Bumps <code>@actions/core</code> to transition away from <a
href="https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/">deprecated
runner commands</a>.</p>
<h2>What's Changed</h2>
<ul>
<li>Add workflow permissions by <a
href="https://github.com/peter-evans"><code>@​peter-evans</code></a> in
<a
href="https://redirect.github.com/peter-evans/create-or-update-comment/pull/120">peter-evans/create-or-update-comment#120</a></li>
<li>9 dependency updates by <a
href="https://github.com/github-actions"><code>@​github-actions</code></a>
and <a
href="https://github.com/dependabot">https://github.com/dependabot</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/peter-evans/create-or-update-comment/compare/v2.0.0...v2.0.1">https://github.com/peter-evans/create-or-update-comment/compare/v2.0.0...v2.0.1</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="c6c9a1a660"><code>c6c9a1a</code></a>
Update distribution (<a
href="https://redirect.github.com/peter-evans/create-or-update-comment/issues/210">#210</a>)</li>
<li><a
href="ce3fa353c4"><code>ce3fa35</code></a>
fix: truncate long comment bodies during comment update too (<a
href="https://redirect.github.com/peter-evans/create-or-update-comment/issues/205">#205</a>)</li>
<li><a
href="5825e577e3"><code>5825e57</code></a>
Bump eslint from 8.41.0 to 8.42.0 (<a
href="https://redirect.github.com/peter-evans/create-or-update-comment/issues/209">#209</a>)</li>
<li><a
href="507508615a"><code>5075086</code></a>
Bump <code>@​typescript-eslint/parser</code> from 5.59.8 to 5.59.9 (<a
href="https://redirect.github.com/peter-evans/create-or-update-comment/issues/208">#208</a>)</li>
<li><a
href="33041066d9"><code>3304106</code></a>
Bump <code>@​typescript-eslint/eslint-plugin</code> from 5.59.8 to
5.59.9 (<a
href="https://redirect.github.com/peter-evans/create-or-update-comment/issues/207">#207</a>)</li>
<li><a
href="84d3b35097"><code>84d3b35</code></a>
Bump eslint-plugin-github from 4.7.0 to 4.8.0 (<a
href="https://redirect.github.com/peter-evans/create-or-update-comment/issues/206">#206</a>)</li>
<li><a
href="542d5c2467"><code>542d5c2</code></a>
Bump <code>@​typescript-eslint/eslint-plugin</code> from 5.59.7 to
5.59.8 (<a
href="https://redirect.github.com/peter-evans/create-or-update-comment/issues/203">#203</a>)</li>
<li><a
href="580d37cf7c"><code>580d37c</code></a>
Bump <code>@​typescript-eslint/parser</code> from 5.59.7 to 5.59.8 (<a
href="https://redirect.github.com/peter-evans/create-or-update-comment/issues/204">#204</a>)</li>
<li><a
href="f8a0c20f69"><code>f8a0c20</code></a>
Bump <code>@​types/node</code> from 18.16.14 to 18.16.16 (<a
href="https://redirect.github.com/peter-evans/create-or-update-comment/issues/202">#202</a>)</li>
<li><a
href="6534843181"><code>6534843</code></a>
Bump <code>@​typescript-eslint/eslint-plugin</code> from 5.59.6 to
5.59.7 (<a
href="https://redirect.github.com/peter-evans/create-or-update-comment/issues/201">#201</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/peter-evans/create-or-update-comment/compare/v2...v3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=peter-evans/create-or-update-comment&package-manager=github_actions&previous-version=2&new-version=3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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

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

---

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

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


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-01 11:39:16 +08:00
Devin-Yeung
fe2d8448a7
chore(ci): check links in CI (#803)
As mentioned in
https://github.com/web-infra-dev/oxc/pull/800#discussion_r1306616508, we
better check the validity of links in CI

---------

Co-authored-by: Boshen <boshenc@gmail.com>
2023-08-28 11:46:56 +08:00
Boshen
592137586c
feat(cli): use insta_cmd for cli snapshot testing (#791)
closes #776
2023-08-25 16:26:34 +08:00
Boshen
a5a601e58d
ci: remove needs: cache from ecosystem-test 2023-08-25 16:24:14 +08:00
Boshen
1a591c7a2d
ci: build benchmark binary separately for reducing total execution time (#789)
benchmark execution time reduced from 15 mins to 12 mins. Time reduction
should be more noticeable for large code changes which require longer
compile time.
2023-08-25 14:40:08 +08:00
Boshen
773b77922e
ci: add write permission for creating releases 2023-08-21 15:54:37 +08:00
Boshen
9a20902dac
ci: add "id-token" permission for publishing project provenance 2023-08-21 14:47:10 +08:00
Boshen
3c375c413e
ci: use node v18 for npm project provenance 2023-08-21 14:27:02 +08:00
Boshen
0c51b6cac9
chore: add publish to npm with project provenance 2023-08-21 12:25:51 +08:00
Boshen
5bcd736ae9
fix(cli): correctly parse clippy like filters "-A rule -D rule" (#758) 2023-08-18 22:00:05 +08:00
Boshen
a9c4fddb6d
refactor(cli): use bpaf instead clap (#756) 2023-08-18 17:14:06 +08:00
Boshen
43ae471fcc
ci: fix paths-ignore for conformance.yml 2023-08-08 14:36:49 +08:00
Boshen
5baa9b9d45
ci: filter out more files that trigger the CI jobs 2023-08-08 14:13:39 +08:00
Boshen
290a0e073f
ci: fix codecov not being uploaded from main 2023-08-08 14:04:38 +08:00
Boshen
5e0edf14fe
ci: remove accident push trigger from website.yml 2023-07-27 18:25:17 +08:00
Boshen
b338f5f53d
ci: ignore more crates from when running benchmark 2023-07-27 18:11:37 +08:00
Boshen
b52ec3f344
ci: remove cargo-udeps 2023-07-27 14:09:42 +08:00
Boshen
26fc0cfde5
ci: on run conformance on certain crate changes 2023-07-27 13:12:12 +08:00
Boshen
1eacd51cb0
ci: make the website a nightly trigger 2023-07-27 13:12:11 +08:00
Boshen
53370e3487
ci: add a job name to auto-labeler 2023-07-27 13:12:11 +08:00
Boshen
133c81ba1a
ci: use the benchmark cache for ecosystem-test
because it is using --release
2023-07-21 11:49:59 +08:00
Leonard Yeung
73338cb377
CI: Added ecosystem check (#574)
Co-authored-by: Leonard Yeung <leonard_yeung@tuta.io>
2023-07-21 11:03:27 +08:00
Boshen
05b77a5a15
Release @oxidation-compiler/napi v0.1.0 2023-07-19 13:15:04 +08:00
Boshen
c4de3675f1
ci: pull repo for auto-labeler 2023-07-16 16:40:20 +08:00
阿良仔
707e717f0d
ci: automatically labelling PRs (#553) 2023-07-16 14:37:42 +08:00
Boshen
fda6d83712
feat(resolver): resolve extensions (#549) 2023-07-14 23:25:47 +08:00
Boshen
789626e01c
perf(resolver): add file system cache (#547) 2023-07-14 16:02:13 +08:00
Boshen
21452162bc
ci: add resolver benchmark (#546) 2023-07-14 12:25:22 +08:00
Boshen
4d187ce963
feat(resolver): resolve js file (#543) 2023-07-13 18:04:00 +08:00
Boshen
8aba8bcbb5
feat(oxc): a single oxc crate (#522) 2023-07-06 13:35:25 +08:00
Boshen
fa02547505
Release oxlint v0.0.2 2023-06-27 23:13:57 +08:00
Boshen
cddf6469d5
Release oxlint v0.0.1 2023-06-27 22:40:02 +08:00
Boshen
681df1ad1f
feat(cli): create a oxlint binary
closes #485
2023-06-27 21:55:07 +08:00
Boshen
d0688d5964
ci: do not upload codecov from forks 2023-06-15 23:06:06 +08:00
Boshen
bad8bfcf16
ci: run conformance tests and bail if there are outdated snapshots (#444) 2023-06-14 21:44:10 +08:00
Boshen
478615a9c4
ci: check wasm (#443) 2023-06-14 13:33:09 +08:00
Boshen
1d7445394a
ci: deploy website from the main branch 2023-06-10 00:47:36 +08:00
Boshen
1c19c2c6fa
ci: clean up website.yml 2023-06-08 21:02:15 +08:00
Boshen
4c41b2740a
Release CLI v0.0.7 2023-05-31 19:20:15 +08:00
Boshen
a6b7c9a7e7
ci: add a separate cache factory for benchmark 2023-05-31 15:39:20 +08:00
Boshen
0de95b8111
ci: optimize cache for benchmark 2023-05-31 15:19:04 +08:00
Boshen
c3bd1a6a1d
ci: install rust before anything else
otherwise it'll install rust components, which is slow
2023-05-31 14:59:33 +08:00
Boshen
5c5459dc59
ci: only run ci when PR is opened or synchronized 2023-05-24 21:33:42 +08:00
Boshen
1d617e64ff
ci: sleep 15s before running the benchmark (#382) 2023-05-24 21:12:33 +08:00
Boshen
60485669bb
ci: cache release for benchmark, benchmark use fewer files (#345) 2023-05-10 22:13:11 +08:00
Boshen
fb6fdfa3ae
ci: remove unnecessary steps from benchmark 2023-05-08 22:42:32 +08:00
Boshen
028738f3a0
ci: simplify build process around moving napi binary 2023-05-05 15:54:18 +08:00
Boshen
2c0dd408de
ci: run codecov for every commit on main branch 2023-05-04 20:39:03 +08:00
Boshen
b77d599b74
ci: do not cancel jobs on main branch 2023-05-04 19:15:50 +08:00
Boshen
6ec5b599b1
ci: remove caching benchmark files for now, need to properly set this up 2023-05-04 19:09:04 +08:00
Boshen
70a5684dda
ci: remove unneeded workflow_run trigger from release_cli / release_napi 2023-05-04 15:31:24 +08:00
Boshen
97189c4e4c
ci: trigger release_cli / release_napi only when package.json changes 2023-04-22 23:23:55 +08:00
Boshen
7aca953635
ci: add cargo deny 2023-04-22 22:35:19 +08:00
Boshen
c6d70ba2a8
ci: run benchmark when Cargo.lock changes 2023-04-22 22:10:05 +08:00
Boshen
e93c79ab5b
ci: only run cargo udeps if Cargo.lock changes 2023-04-22 21:25:27 +08:00
Boshen
0918c21061
ci: refactor ci.yml 2023-04-22 21:06:03 +08:00
Boshen
40f6341c87
ci: clean up release workflows 2023-04-22 14:55:15 +08:00
Boshen
d49195f7f2
feat: napi (#302)
* chore: only ignore js files from the root

* feat: napi
2023-04-22 14:41:45 +08:00
Boshen
c87ba5df23
ci: remove needs: cache from ci
the cache is unused 99% of the time so it's better to just run
everything instead of waiting for the cache
2023-04-20 21:21:48 +08:00
Boshen
21d4954071
Website (#281)
feat(site): init website

Co-authored-by: Gwen <guan_wy@foxmail.com>
2023-04-19 16:37:44 +08:00
Boshen
b6598a47d4
ci: run codecov on PR (#294) 2023-04-18 17:15:23 +08:00
Boshen
05309342ed
chore: remove cache.yml 2023-04-17 16:51:30 +08:00
Boshen
ec01a295a8
chore: do not append -- to cargo lint 2023-04-17 16:38:09 +08:00
Boshen
ba76aa8b9a
ci: cache test files 2023-04-17 15:53:48 +08:00
Boshen
eab0d5be16
ci: cache all-targets 2023-04-17 15:30:28 +08:00
Boshen
9c673fa63a
ci: debug rustup action 2023-04-17 15:23:19 +08:00
Boshen
f4921bb6f5
ci: fine tune caching strategy 2023-04-17 14:43:07 +08:00
Boshen
7b9bd48ad2
ci: separate out cargo check and cargo clippy 2023-04-17 14:25:47 +08:00
Boshen
4f5cde78a3
ci: build cache on all platforms 2023-04-17 13:48:05 +08:00
Boshen
07a633615a
ci: trigger ci on main 2023-04-17 13:27:18 +08:00
Boshen
19d341c0ab
ci: remove CARGO_TERM_QUIET as it interferes with rust cache 2023-04-17 13:12:26 +08:00
Boshen
6c8f0449a3
ci: cache factory 2023-04-17 11:47:47 +08:00
Boshen
4ced43ea54
ci: do not fail-fast in matrix test 2023-04-16 23:37:04 +08:00
Boshen
87400917e1
chore: change cargo lint to deny all warnings 2023-04-16 21:32:00 +08:00
Boshen
90b69cf220
ci: add deploy website work flow 2023-04-15 15:20:59 +08:00
Boshen
427b2093c2
ci: change coverage to run on main branch 2023-04-15 14:51:07 +08:00
Boshen
9cf24cea7d
ci(benchmark): cache benchmark files with libs.txt 2023-04-15 14:38:02 +08:00
Boshen
f1dcc5429e
refactor(tasks): clean up code around code coverage 2023-04-15 13:53:57 +08:00
Boshen
012516a777
ci: read cache from main branch in codecov 2023-04-11 16:06:58 +08:00
Boshen
62bb985434
ci: use cargo-llvm-cov for code coverage (#274) 2023-04-11 16:03:07 +08:00
Boshen
8b8355d04a
chore: note about broken cargo-unused-features 2023-04-05 22:22:59 +08:00
Boshen
230c7c8294
ci: install minimal profile (#256)
ci: refactor rustup action
2023-04-05 12:26:37 +08:00
Boshen
c35fb19f4f
ci: install minimal profile (#253)
rustup show always install the profiles set in rust-toolchain.toml,
I added an action to remove this line so we can install components selectively.

This should reduce Rust installation time, which can be significant on Windows.
2023-04-05 11:50:30 +08:00
Boshen
7fd213441c
ci: cache benchmark files (#250) 2023-04-04 17:18:58 +08:00
Boshen
d6b45c1a57
ci: use another step for uploading code coverage 2023-04-02 11:00:16 +08:00
Boshen
ba318c93a2
ci: try fix codecov 2023-04-02 01:09:32 +08:00
Boshen
adef772d6c refactor: clean up code around code coverage 2023-04-01 15:59:42 +08:00
Boshen
6347dac8d6
ci: pass CODECOV_TOKEN to committed-action 2023-04-01 00:54:37 +08:00
Boshen
5398cb0ba1
ci: rename check.yml to ci.yml 2023-03-31 23:38:02 +08:00
Boshen
1a6f508bb9
ci: add codecov 2023-03-31 22:59:14 +08:00
Boshen
4ac040e63f
ci: remove deploying to gh-pages. we have docs.rs now 2023-03-31 15:46:12 +08:00
Boshen
2964d83fc9
chore: add crates.io and docs.rs badge 2023-03-31 15:26:47 +08:00
Boshen
f51c8135a3
ci: add cargo-llvm-lines (#226) 2023-03-30 10:20:36 +08:00
Boshen
f313aab48f
ci: rename yaml to yml 2023-03-29 22:07:22 +08:00
Boshen
282f19d27c
ci: separate test build and test run
https://matklad.github.io/2021/09/04/fast-rust-builds.html#CI-Workflow
2023-03-29 15:30:09 +08:00
Boshen
d4af69930c
ci: use faster cargo-nextest to run tests 2023-03-26 13:49:40 +08:00
Boshen
95a2382860
ci: use latest runners 2023-03-26 13:46:33 +08:00
Boshen
65387809d8
ci: change spell check title 2023-03-26 13:38:55 +08:00
Boshen
5d0bbe9198
ci: fix cargo-udeps failure 2023-03-26 13:34:39 +08:00
Boshen
5d7bab92b0
ci: use cargo-binstall to install cargo-unused-features 2023-03-22 13:50:10 +08:00
Boshen
19d132429e
ci: use cargo-binstall to install cargo-udeps 2023-03-22 13:36:00 +08:00
Boshen
98f251d597
ci: use cargo-binstal to speed up critcmp installation 2023-03-21 22:42:40 +08:00
Boshen
46ddf5eb05
ci: combine benchmark results into a single report (#182) 2023-03-14 19:04:31 +08:00
Boshen
605684f4c0
fix: fix clippy warnings 2023-03-12 21:53:08 +08:00
Boshen
305a377892
ci: remove build-std from release, this is too complicated 2023-03-12 14:16:46 +08:00
Boshen
a68acb2afb
ci: release test against remote version 2023-03-12 14:04:27 +08:00
Boshen
0d9fda716b
ci: build nightly rust-src for release 2023-03-12 13:50:25 +08:00
Boshen
a6cb5fc579
ci: add -detect_leaks=0 to fuzzer 2023-03-12 10:52:50 +08:00
Boshen
1b93d83ff7
chore(oxc_parser): setup fuzzer
closes #155
2023-03-12 00:44:42 +08:00
Boshen
9d25f8cc26
ci: add typos 2023-03-11 23:38:56 +08:00
Boshen
2045a326be
ci: update cargo bloat and add cargo-unused (#158)
* ci: try strip symbols from std

* ci: add cargo-unused

* ci(bloat): fix the command

stripping debug symbol from std is not working with nightly + target
2023-03-08 22:16:38 +08:00
Boshen
1651ffeabc
ci: disable macos benchmark, too unstable 2023-03-08 22:05:04 +08:00
Boshen
8dfb50642d
ci: release with debug symbols stripped from std 2023-03-05 22:33:14 +08:00
Boshen
5faae992b2
ci: add cargo-unused 2023-03-05 22:29:26 +08:00
Boshen
43467b19e9 ci: write benchmark action summary 2023-03-05 04:51:00 -08:00
Boshen
d1bfe9ab16
ci: add summary to bloat command (#132) 2023-03-05 04:12:05 -08:00
Boshen
4a8abca2d1
ci: fix bloat command 2023-03-05 16:05:47 +08:00
Boshen
57b3fbf899
ci: fix cargo bloat --profile 2023-03-05 16:03:00 +08:00
Boshen
1031755fdb
chore(rust): add release-debug mode 2023-03-05 15:57:53 +08:00
Boshen
16b99e7205
ci: make cargo print less logs 2023-03-05 15:51:51 +08:00
Boshen
dee5d00ae2
ci: add manual cargo bloat action 2023-03-05 15:41:54 +08:00
Boshen
7db95f0b33
refactor(ci): remove useless submodules: false from actions/checkout 2023-03-05 15:37:07 +08:00
Boshen
7d3ce8b125
feat(benchmark): add semantic builder to benchmark (#129) 2023-03-04 23:09:19 -08:00
Boshen
4c4cb4d526 ci: setup npm publish 2023-03-02 06:55:56 -08:00
Boshen
2d09c57ce8 ci: deny all warnings 2023-03-02 00:44:03 -08:00
Boshen
a15b57a9cf ci: remove permissions override, I changed it in the GitHub settings 2023-03-01 20:47:14 +08:00
Boshen
abc368a203
ci: fix zip name 2023-03-01 13:58:52 +08:00
Boshen
5e451ff2e4
ci: fix zip name 2023-03-01 13:44:14 +08:00
Boshen
10bd3d518c
ci: attempt to fix upload permissions 2023-03-01 11:32:41 +08:00
Boshen
4f78d69e0e chore(rust): remove symbols in release profile 2023-03-01 00:33:24 +08:00
Boshen
bd4730ccfc ci: add back binary permissions after download in release_cli 2023-03-01 00:32:25 +08:00
Boshen
5f651df156 ci: add write permissions to release_cli.yaml 2023-02-28 23:34:18 +08:00
Boshen
825e27178c ci: add release_cli.yaml with build binary and upload artifact steps 2023-02-28 07:21:03 -08:00
Boshen
4f36f7d2ef
ci: attempt to fix miri with "-Zmiri-disable-isolation" 2023-02-26 00:49:19 +08:00
Boshen
aac51de446
ci: add miri 2023-02-25 17:09:25 +08:00
Boshen
1cd2c14d78
ci: fix benchmark output 2023-02-25 16:58:02 +08:00
Boshen
9098962ec3
ci: cancel previous job runs with concurrency 2023-02-25 16:57:31 +08:00
Boshen
e827754aad ci: try fix benchmark comment 2023-02-25 11:58:57 +08:00
Boshen
80afce5cd3
ci: attempt to fix some benchmark issues 2023-02-25 11:27:04 +08:00
Boshen
50faa7be1d ci: setup benchmark matrix 2023-02-24 22:54:05 +08:00
Boshen
66c713f4f4 ci: run the parser benchmark conditionally 2023-02-24 22:54:05 +08:00
Boshen
3875a6ce1d
ci: fix path ignore 2023-02-24 13:36:43 +08:00
Boshen
cbcf68c88a
ci: ignore markdown file changes 2023-02-24 13:34:09 +08:00
Boshen
d773187f43
ci: skip making comments from forks in benchmark
source: https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#restrictions-on-repository-forks
2023-02-23 21:37:08 +08:00
Boshen
3fee6a5184
ci: fix benchmark not fetching on pr commit 2023-02-13 10:01:31 +08:00
Boshen
9de386ecf7
ci: update 2023-02-12 20:27:23 +08:00
Boshen
01ff8eed08
ci: remove unused github_token from benchmark 2023-02-12 20:21:24 +08:00
Boshen
738f52cd0b
ci: fix benchmark.yaml 2023-02-12 20:04:55 +08:00
Boshen
792a0b065a
ci: only run benchmark on 'crates/**' change 2023-02-12 14:32:40 +08:00
Boshen
6a8d9da75d
ci: add write permission to benchmark 2023-02-12 10:36:48 +08:00
Boshen
ad36a0ebb2
ci: remove useless CARGO_UNSTABLE_SPARSE_REGISTRY env variable 2023-02-12 10:04:47 +08:00
Boshen
35db916db7
ci: move --locked from cargo check 2023-02-12 10:00:58 +08:00
Boshen
1410155a0c
ci: fix invalid benchmark.yaml 2023-02-12 09:53:49 +08:00
Boshen
42932334b2
ci: add pr benchmark workflow 2023-02-12 09:35:27 +08:00
Boshen
e964179490 ci: use cargo command instead of dtolnay/rust-toolchain 2023-02-11 21:17:56 +08:00
Boshen
6df31b0c2c ci: run on pull_request 2023-02-11 16:34:53 +08:00
Boshen
9c91398015 ci: use dtolnay/rust-toolchain 2023-02-11 14:31:59 +08:00
Boshen
c2c78c3a33 ci: add write permissions for publishing docs 2023-02-11 14:23:57 +08:00
Boshen
a3bfa2222e ci: update deploy gh action name 2023-02-11 14:10:58 +08:00
Boshen
d25cdc8cc2 ci: add github workflow for main branch 2023-02-11 13:56:47 +08:00