Skip to content

chore(deps): bump quinn-proto from 0.11.14 to 0.11.16 #640

chore(deps): bump quinn-proto from 0.11.14 to 0.11.16

chore(deps): bump quinn-proto from 0.11.14 to 0.11.16 #640

Workflow file for this run

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
name: Ballista Web TUI
permissions:
contents: read
concurrency:
group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}
cancel-in-progress: true
on:
push:
branches: [ "main" ]
paths:
- "ballista/**"
- "ballista-cli/**"
- "Cargo.toml"
- "Cargo.lock"
- "rust-toolchain.toml"
- ".github/workflows/web-tui.yml"
- ".github/actions/setup-builder/**"
# docs-only changes cannot affect this job; exclusions are applied last
- "!**/*.md"
pull_request:
paths:
- "ballista/**"
- "ballista-cli/**"
- "Cargo.toml"
- "Cargo.lock"
- "rust-toolchain.toml"
- ".github/workflows/web-tui.yml"
- ".github/actions/setup-builder/**"
# docs-only changes cannot affect this job; exclusions are applied last
- "!**/*.md"
workflow_dispatch:
jobs:
web-tui:
name: Build Web TUI WASM32 application
runs-on: macos-latest
steps:
- uses: actions/checkout@v7.0.1
with:
fetch-depth: 1
- name: Setup Rust toolchain
run: |
rustup toolchain install stable
rustup default stable
rustup target add wasm32-unknown-unknown
- uses: swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 #2.9.1
- name: Install Trunk
uses: taiki-e/install-action@7572810d7dd469b651bb7793945692cf78da5dd7 # v2.85.0
with:
tool: trunk@0.21.14
- name: Install cargo-get
uses: taiki-e/install-action@7572810d7dd469b651bb7793945692cf78da5dd7 # v2.85.0
with:
tool: cargo-get@1.4.0
- name: Get package.version
id: cargo_metadata
run: |
BALLISTA_VERSION=$(cargo get --entry ballista/core/ package.version)
echo "ballista_version=${BALLISTA_VERSION}" >> "$GITHUB_OUTPUT"
- name: Build
working-directory: ballista-cli
run: |
trunk build --cargo-profile release-nonlto --minify --locked \
--no-default-features --features web
- name: Deploy at nightlies.a.o
if: ${{ github.event == 'push' && github.ref == 'refs/heads/main' }}
run: |
TUI_DIR="datafusion/ballista/tui/${{ steps.cargo_metadata.outputs.ballista_version }}"
REMOTE_TARGET_DIR="${{ secrets.NIGHTLIES_RSYNC_PATH }}/${TUI_DIR}/"
echo "${{ secrets.NIGHTLIES_RSYNC_KEY }}" | ssh-add -
ssh-keyscan -H "${{ secrets.NIGHTLIES_RSYNC_HOST }}" >> ~/.ssh/known_hosts 2>/dev/null
ssh -p ${{ secrets.NIGHTLIES_RSYNC_PORT }} -l ${{ secrets.NIGHTLIES_RSYNC_USER }} ${{ secrets.NIGHTLIES_RSYNC_HOST }} "mkdir -p ${REMOTE_TARGET_DIR}"
rsync --times --compress --delete --verbose -e "ssh -p ${{ secrets.NIGHTLIES_RSYNC_PORT }} -l ${{ secrets.NIGHTLIES_RSYNC_USER }}" ./target/web-tui/* ${{ secrets.NIGHTLIES_RSYNC_HOST }}:${REMOTE_TARGET_DIR}
- name: Upload WASM32 application
uses: actions/upload-artifact@v7
with:
name: ballista-web-tui
retention-days: 7
path: target/web-tui/