Skip to content

Commit

Permalink
More updates to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kaleidawave committed Sep 25, 2023
1 parent 2fd605c commit 9560ac4
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
id: set-npm-version
if: ${{ github.event.inputs.ezno-version != 'none' }}
run: |
VERSION=$('${{ steps.release.outputs.new-versions-json-object }}' | jq -r '.ezno')
VERSION=$(echo '${{ steps.release.outputs.new-versions-json-object }}' | jq -r '.ezno')
echo "new-ezno-version=${VERSION}" >> $GITHUB_OUTPUT
npm ci
npm version $VERSION
Expand Down
24 changes: 6 additions & 18 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ jobs:
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: dtolnay/rust-toolchain@stable

- uses: actions/cache@v3
with:
Expand Down Expand Up @@ -63,9 +61,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: dtolnay/rust-toolchain@stable

- name: Check Rust formatting with rustfmt
run: cargo fmt --all --check
Expand All @@ -84,9 +80,7 @@ jobs:
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: dtolnay/rust-toolchain@stable
- uses: actions/cache@v3
with:
path: ${{ env.CACHE_PATHS }}
Expand Down Expand Up @@ -150,9 +144,7 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: dtolnay/rust-toolchain@stable
- uses: actions/cache@v3
with:
path: ${{ env.CACHE_PATHS }}
Expand Down Expand Up @@ -188,9 +180,7 @@ jobs:
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: dtolnay/rust-toolchain@stable
- uses: actions/cache@v3
with:
path: ${{ env.CACHE_PATHS }}
Expand All @@ -202,9 +192,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: dtolnay/rust-toolchain@stable
- name: Check that it will publish to crates
run: |
cargo metadata --offline --format-version 1 --no-deps | jq -r ".workspace_members[]" | while read -r _n _v pathInfo ; do
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
A JavaScript compiler and TypeScript checker written in Rust with a focus on static analysis and runtime performance.

You can try it with `npx`
You can *try* what it current [supports today](./checker/specification/specification.md) with `npx`

```shell
npx ezno check file.ts
```

[Or try it in Oxc](https://gist.github.com/kaleidawave/5dcb9ec03deef1161ebf0c9d6e4b88d8)!. Or download the binary with `npm install ezno`, `cargo install ezno`, `cargo binstall ezno` or on [GitHub releases](https://github.com/kaleidawave/ezno/releases).
Or download the binary with `npm install ezno`, `cargo install ezno` or on [GitHub releases](https://github.com/kaleidawave/ezno/releases). [Or try it in Oxc](https://gist.github.com/kaleidawave/5dcb9ec03deef1161ebf0c9d6e4b88d8)!

![project lines of code](https://projects.kaleidawave.workers.dev/project/ezno/badge)

Expand Down
1 change: 0 additions & 1 deletion parser/fuzz/fuzz_targets/module_roundtrip_naive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ fn do_fuzz(data: &str) -> Corpus {
Default::default(),
SourceId::NULL,
None,
Vec::new(),
) else {
panic!("input: `{input}`\noutput1: `{output1}`\n\nThis parse should not error because it was just parsed above");
};
Expand Down
1 change: 0 additions & 1 deletion parser/fuzz/fuzz_targets/module_roundtrip_structured.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ fn do_fuzz(data: common::FuzzSource) -> Corpus {
Default::default(),
SourceId::NULL,
None,
Vec::new(),
) else {
panic!("input: `{input}`\noutput1: `{output1}`\n\nThis parse should not error because it was just parsed above");
};
Expand Down

0 comments on commit 9560ac4

Please sign in to comment.