Skip to content

chore(deps): Bump rand from 0.9.0 to 0.9.1 #778

chore(deps): Bump rand from 0.9.0 to 0.9.1

chore(deps): Bump rand from 0.9.0 to 0.9.1 #778

Workflow file for this run

name: Website Test
# Run when PRs would modify the site code.
on:
pull_request:
branches: [main]
merge_group:
types: [checks_requested]
permissions:
contents: read
jobs:
#==========================================================================
# Build the Hipcheck site with Zola and the Tailwindcss CLI
#--------------------------------------------------------------------------
website-test:
runs-on: ubuntu-latest
env:
TAILWIND_VERSION: 3.4.4
steps:
# Check out the Hipcheck repository.
- name: Checkout Hipcheck Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
# Check if any site changes and skip future steps if not
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: filter
with:
filters: |
site:
- "site/**"
- "sdk/python/src/**"
- "sdk/python/pyproject.toml"
# Install the latest version of Zola.
- name: Install Zola
if: steps.filter.outputs.site == 'true'
uses: taiki-e/install-action@ca770cf74e8d33db1454f49b3c96ef207b36cc46 # zola
with:
tool: [email protected]
# Install the latest version of the Tailwind CLI.
- name: Install Tailwind CLI
if: steps.filter.outputs.site == 'true'
run: |
curl --proto '=https' --tlsv1.2 -sSLO https://github.com/tailwindlabs/tailwindcss/releases/download/v${TAILWIND_VERSION}/tailwindcss-linux-x64
chmod +x tailwindcss-linux-x64
mv tailwindcss-linux-x64 tailwindcss
mkdir -p "${HOME}/.local/bin"
mv tailwindcss "${HOME}/.local/bin/tailwindcss"
echo "${HOME}/.local/bin" >> $GITHUB_PATH
# Install the latest major version of Deno.
- name: Install Deno
if: steps.filter.outputs.site == 'true'
uses: denoland/setup-deno@e95548e56dfa95d4e1a28d6f422fafe75c4c26fb # v2.0.3
with:
deno-version: v2.x
# Install Python
- name: Set up Python 3.10
if: steps.filter.outputs.site == 'true'
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: "3.10"
# Build the Python SDK docs from doc comments
- name: Build And Copy Python SDK Docs
if: steps.filter.outputs.site == 'true'
run: |
pip install uv
mkdir site/static/sdk
cd sdk/python/docs
uv run make html
cp -r ./build/html ../../../site/static/sdk/python
# Build the actual site with Zola and Tailwind.
- name: Build Hipcheck Website
if: steps.filter.outputs.site == 'true'
run: |
cd site
zola build
tailwindcss -i styles/main.css -o public/main.css
cd scripts
deno task bundle