Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ WORKDIR /root
RUN mkdir -p ./tools/scripts/lib_install
COPY ./tools/scripts/lib_install ./tools/scripts/lib_install

RUN ./tools/scripts/lib_install/linux/install-dev.sh
RUN ./tools/scripts/lib_install/ubuntu/install-dev-wolf.sh
RUN ./tools/scripts/lib_install/ubuntu/install-dev-huntsman.sh

# NOTE:
# `task` doesn't have an apt/yum package so we use its install script.
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/code-linting-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- uses: "./tools/yscope-dev-utils/exports/github/actions/install-uv"

- name: "Install dev dependencies"
run: "./tools/scripts/lib_install/linux/install-dev.sh"
run: "./tools/scripts/lib_install/ubuntu/install-dev-common.sh"

- run: "task lint:toml-check"

Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
- uses: "./tools/yscope-dev-utils/exports/github/actions/install-uv"

- name: "Install dev dependencies"
run: "./tools/scripts/lib_install/linux/install-dev.sh"
run: "./tools/scripts/lib_install/ubuntu/install-dev-wolf.sh"

- uses: "./tools/yscope-dev-utils/exports/github/actions/print-tool-versions"

Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
- uses: "./tools/yscope-dev-utils/exports/github/actions/install-uv"

- name: "Install dev dependencies"
run: "./tools/scripts/lib_install/linux/install-dev.sh"
run: "./tools/scripts/lib_install/ubuntu/install-dev-common.sh"

- run: "task lint:py-check"

Expand All @@ -174,7 +174,7 @@ jobs:
- uses: "./tools/yscope-dev-utils/exports/github/actions/install-uv"

- name: "Install dev dependencies"
run: "./tools/scripts/lib_install/linux/install-dev.sh"
run: "./tools/scripts/lib_install/ubuntu/install-dev-huntsman.sh"

- run: "task lint:check-rust"

Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/proto-generated-code-checks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: "proto-generated-code-checks"

on:
pull_request:
push:
schedule:
# Run daily at 00:15 UTC (the 15 is to avoid periods of high load)
- cron: "15 0 * * *"
workflow_dispatch:

concurrency:
group: "${{github.workflow}}-${{github.ref}}"
# Cancel in-progress jobs for efficiency
cancel-in-progress: true

jobs:
proto-code-committed:
name: "proto-code-committed"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd" # v6.0.2
with:
submodules: "recursive"

- uses: "./tools/yscope-dev-utils/exports/github/actions/install-python"

- uses: "./tools/yscope-dev-utils/exports/github/actions/install-go-task"

- name: "Install dev dependencies"
run: "./tools/scripts/lib_install/ubuntu/install-dev-huntsman.sh"

- name: "`spider-proto-rust` code generation"
shell: "bash"
run: "task build:spider-proto-rust-codegen"

- name: "Check if the generated proto code is the latest"
shell: "bash"
run: "git diff --exit-code components/spider-proto-rust/src/generated"
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- uses: "./tools/yscope-dev-utils/exports/github/actions/install-uv"

- name: "Install dev dependencies"
run: "./tools/scripts/lib_install/linux/install-dev.sh"
run: "./tools/scripts/lib_install/ubuntu/install-dev-wolf.sh"

- uses: "./tools/yscope-dev-utils/exports/github/actions/print-tool-versions"

Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
- uses: "./tools/yscope-dev-utils/exports/github/actions/install-uv"

- name: "Install dev dependencies"
run: "./tools/scripts/lib_install/linux/install-dev.sh"
run: "./tools/scripts/lib_install/ubuntu/install-dev-huntsman.sh"

- uses: "./tools/yscope-dev-utils/exports/github/actions/print-tool-versions"

Expand Down
Loading
Loading