Skip to content

Commit

Permalink
Bump deno version (#1276)
Browse files Browse the repository at this point in the history
This includes migration to the new `op2` macro because `op` is now
deprecated (See denoland/deno_core#279). The new macro requires explicit
annotation for string and serde parameters and return values because of
the performance hit. We use these heavily (and don't care about the
performance).

The deno runtime version now comes directly from the deno snapshot. For
our usage, that means that the `Deno.version.deno` and `Deno.version.v8`
values are now empty strings where they were previously the Phylum
version and v8 version respectively.
  • Loading branch information
kylewillmon authored Nov 30, 2023
1 parent e1b8811 commit ae113fa
Show file tree
Hide file tree
Showing 6 changed files with 896 additions and 1,137 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ jobs:
with:
fetch-depth: 0

- if: ${{ runner.os == 'macOS' }}
name: Install protoc
run: brew install cmake protobuf

- if: ${{ runner.os == 'Linux' }}
name: Install protoc
run: sudo apt install -y protobuf-compiler

- name: Install Rust toolchain
run: |
curl https://sh.rustup.rs -sSf \
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ jobs:
- name: Checkout the repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- if: ${{ runner.os == 'macOS' }}
name: Install protoc
run: brew install cmake protobuf

- if: ${{ runner.os == 'Linux' }}
name: Install protoc
run: sudo apt install -y protobuf-compiler

- name: Install Rust toolchain
run: rustup toolchain install --no-self-update stable --profile minimal -c clippy

Expand All @@ -53,6 +61,14 @@ jobs:
- name: Checkout the repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- if: ${{ runner.os == 'macOS' }}
name: Install protoc
run: brew install cmake protobuf

- if: ${{ runner.os == 'Linux' }}
name: Install protoc
run: sudo apt install -y protobuf-compiler

- name: Install Rust toolchain
run: rustup toolchain install --no-self-update stable --profile minimal

Expand All @@ -68,6 +84,14 @@ jobs:
- name: Checkout the repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- if: ${{ runner.os == 'macOS' }}
name: Install protoc
run: brew install cmake protobuf

- if: ${{ runner.os == 'Linux' }}
name: Install protoc
run: sudo apt install -y protobuf-compiler

- name: Oldstable
run: |
oldstable=$(cat "./cli/Cargo.toml" | grep "rust-version" | sed 's/.*"\(.*\)".*/\1/')
Expand All @@ -85,6 +109,14 @@ jobs:
- name: Checkout the repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- if: ${{ runner.os == 'macOS' }}
name: Install protoc
run: brew install cmake protobuf

- if: ${{ runner.os == 'Linux' }}
name: Install protoc
run: sudo apt install -y protobuf-compiler

- name: Install Rust toolchain
run: rustup toolchain install --no-self-update stable --profile minimal

Expand Down
Loading

0 comments on commit ae113fa

Please sign in to comment.