/
githubmirror
/
hello-algo
Обзор
Документация
Войти
/
githubmirror
/
hello-algo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/rust.yml
36 строк
856 B
Yudong Jin
Translate all code to English (#1836)
31 дек 2025, 02:44
Не верифицирован
31 дек 2025, 02:44
2778a6f
Код
Авторство
О чём код?
name: Rust on: push: branches: ["main"] paths: - "codes/rust/**/*.rs" - "codes/rust/Cargo.toml" - "en/codes/rust/**/*.rs" - "en/codes/rust/Cargo.toml" pull_request: branches: ["main"] paths: - "codes/rust/**/*.rs" - "codes/rust/Cargo.toml" - "en/codes/rust/**/*.rs" - "en/codes/rust/Cargo.toml" jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] code-dir: ["codes/rust", "en/codes/rust"] steps: - uses: brndnmtthws/rust-action-rustup@v1 with: toolchain: nightly - uses: actions/checkout@v4 - name: Build run: cargo build --manifest-path=${{ matrix.code-dir }}/Cargo.toml && cargo build --manifest-path=${{ matrix.code-dir }}/Cargo.toml --release