mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-28 15:53:00 +00:00
cc78d0bcc7
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
47 lines
1.3 KiB
YAML
47 lines
1.3 KiB
YAML
# Lint/test gate for the bonsaiviewer-autodesk crate — nothing here ships.
|
|
# The connector binary that reaches users is built by the platform pipelines
|
|
# (build_rocky.yml, build_rocky_arm.yml, build_win.yml, build_osx.yml), each
|
|
# of which runs packaging/build.py itself and bundles dist/autodesk/ into the
|
|
# Bonsai Viewer archive.
|
|
name: Test Bonsai Viewer Autodesk Connector
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
paths:
|
|
- 'src/bonsaiviewer-autodesk/**'
|
|
- '.github/workflows/build-bonsaiviewer-autodesk.yml'
|
|
pull_request:
|
|
paths:
|
|
- 'src/bonsaiviewer-autodesk/**'
|
|
- '.github/workflows/build-bonsaiviewer-autodesk.yml'
|
|
|
|
jobs:
|
|
test:
|
|
name: cargo-test
|
|
runs-on: ubuntu-latest
|
|
|
|
defaults:
|
|
run:
|
|
working-directory: src/bonsaiviewer-autodesk
|
|
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
|
|
# cargo-target reuse across runs. Massive cold-build speedup,
|
|
# cheap on the GitHub Actions cache budget.
|
|
- uses: Swatinem/rust-cache@v2
|
|
with:
|
|
workspaces: src/bonsaiviewer-autodesk
|
|
|
|
- name: cargo fmt --check
|
|
run: cargo fmt --all -- --check
|
|
|
|
- name: cargo clippy
|
|
run: cargo clippy --all-targets --all-features -- -D warnings
|
|
|
|
- name: cargo test
|
|
run: cargo test --all-features
|