VRChat 内蔵パラメーターや PhysBone パラメーターに対応する #105
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Check Rust Codes" | |
on: | |
- "pull_request" | |
jobs: | |
lint: | |
name: "Lint" | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/checkout@v4" | |
- uses: "actions-rust-lang/setup-rust-toolchain@v1" | |
with: | |
components: "rustfmt, clippy" | |
- shell: "bash" | |
run: | | |
mkdir '.cargo' | |
echo '[registries.crates-io]' >> .cargo/config.toml | |
echo 'protocol = "sparse"' >> .cargo/config.toml | |
- uses: "actions-rust-lang/rustfmt@v1" | |
- shell: "bash" | |
run: | | |
cargo clippy --all-features | |
test: | |
name: "Test" | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/checkout@v4" | |
- uses: "actions-rust-lang/setup-rust-toolchain@v1" | |
with: | |
components: "rustfmt, clippy" | |
- shell: "bash" | |
run: | | |
mkdir '.cargo' | |
echo '[registries.crates-io]' >> .cargo/config.toml | |
echo 'protocol = "sparse"' >> .cargo/config.toml | |
- shell: "bash" | |
run: | | |
cargo test --all-features |