Skip to content

sdk: name the v0 modules for the surface they serve #3580

sdk: name the v0 modules for the surface they serve

sdk: name the v0 modules for the surface they serve #3580

Workflow file for this run

# SPDX-FileCopyrightText: © 2024-2025 Phala Network <dstack@phala.network>
#
# SPDX-License-Identifier: Apache-2.0
name: Rust checks
on:
push:
branches: [ next, 'release/**' ]
pull_request:
branches: [ next, 'release/**' ]
env:
CARGO_TERM_COLOR: always
jobs:
rust-checks:
runs-on: ${{ vars.CI_RUNNER || 'ubuntu-latest' }}
defaults:
run:
working-directory: dstack
steps:
- uses: actions/checkout@v5
- name: Install Rust
uses: dtolnay/rust-toolchain@1.92.0
with:
components: clippy, rustfmt
- name: Run Clippy
run: cargo clippy -- -D warnings -D clippy::expect_used -D clippy::unwrap_used --allow unused_variables
- name: Cargo fmt check
run: cargo fmt --check --all
- name: Run tests
run: ./run-tests.sh