diff options
| author | Heyang Zhou <zhy20000919@hotmail.com> | 2023-08-22 13:56:00 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-22 13:56:00 +0800 |
| commit | 6d4a005e4108a5dd762b339a02bc4d802755ba0d (patch) | |
| tree | 69679038bfbd3127f6c1e1b85dbc347c8c52e36e /.github | |
| parent | 5834d282d4de5d0b5cacb9bf068f3896bef0a48a (diff) | |
feat(ext/kv): connect to remote database (#20178)
This patch adds a `remote` backend for `ext/kv`. This supports
connection to Deno Deploy and potentially other services compatible with
the KV Connect protocol.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/bench_cron.yml | 6 | ||||
| -rwxr-xr-x | .github/workflows/ci.generate.ts | 6 | ||||
| -rw-r--r-- | .github/workflows/ci.yml | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/bench_cron.yml b/.github/workflows/bench_cron.yml index 3725f80a8..c62a0f267 100644 --- a/.github/workflows/bench_cron.yml +++ b/.github/workflows/bench_cron.yml @@ -31,6 +31,12 @@ jobs: - uses: dsherret/rust-toolchain-file@v1 + - name: Install protoc + uses: arduino/setup-protoc@v2 + with: + version: "21.12" + repo-token: ${{ secrets.GITHUB_TOKEN }} + - name: Build release run: cargo build --release --locked --all-targets diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index 728a9d768..aaf96c807 100755 --- a/.github/workflows/ci.generate.ts +++ b/.github/workflows/ci.generate.ts @@ -168,6 +168,11 @@ const installNodeStep = { uses: "actions/setup-node@v3", with: { "node-version": 18 }, }; +const installProtocStep = { + name: "Install protoc", + uses: "arduino/setup-protoc@v2", + with: { "version": "21.12", "repo-token": "${{ secrets.GITHUB_TOKEN }}" }, +}; const installDenoStep = { name: "Install Deno", uses: "denoland/setup-deno@v1", @@ -434,6 +439,7 @@ const ci = { if: "matrix.job == 'bench'", ...installNodeStep, }, + installProtocStep, { if: [ "matrix.profile == 'release' &&", diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bfbdb5c9c..45607d82e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -170,6 +170,12 @@ jobs: uses: actions/setup-node@v3 with: node-version: 18 + - name: Install protoc + uses: arduino/setup-protoc@v2 + with: + version: '21.12' + repo-token: '${{ secrets.GITHUB_TOKEN }}' + if: '!(github.event_name == ''pull_request'' && matrix.skip_pr)' - if: |- !(github.event_name == 'pull_request' && matrix.skip_pr) && (matrix.profile == 'release' && matrix.job == 'test' && |
