Bump proc-macro2 from 1.0.89 to 1.0.91 #1109
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
on: | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- '**.rs' | |
- .github/workflows/ci.yml | |
- Cargo.lock | |
- Cargo.toml | |
- '**/Cargo.toml' | |
- rust-toolchain.toml | |
permissions: read-all | |
name: Rust CI | |
jobs: | |
cargo-test: | |
name: cargo test | |
runs-on: ubuntu-latest-8-cores | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@stable | |
- uses: taiki-e/install-action@cargo-llvm-cov | |
- uses: taiki-e/install-action@nextest | |
- uses: Swatinem/[email protected] | |
- uses: taiki-e/install-action@just | |
- name: cargo test | |
shell: bash | |
run: | | |
export KITTYCAD_API_TOKEN=${{secrets.KITTYCAD_API_TOKEN}} | |
just test-with-coverage | |
env: | |
RUST_BACKTRACE: 1 | |
- name: Upload to codecov.io | |
uses: codecov/codecov-action@v5 | |
with: | |
token: ${{secrets.CODECOV_TOKEN}} | |
fail_ci_if_error: true | |
flags: unittests | |
verbose: true | |
files: lcov.info | |
check-lint: | |
name: Check lints | |
runs-on: ubuntu-latest-8-cores | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: taiki-e/install-action@just | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy | |
- uses: Swatinem/[email protected] | |
- name: Check lints | |
run: just lint | |
check-wasm: | |
name: Check wasm | |
runs-on: ubuntu-latest-8-cores | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: taiki-e/install-action@just | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
targets: wasm32-unknown-unknown | |
- uses: Swatinem/[email protected] | |
- name: Check lints | |
run: just check-wasm | |
cargo-fmt: | |
name: cargo fmt | |
runs-on: ubuntu-latest-8-cores | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: rustfmt | |
- name: cargo fmt | |
run: cargo fmt | |
can-release: | |
name: Check modeling-cmds can release | |
runs-on: ubuntu-latest-8-cores | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@stable | |
- name: Dry-run a release of modeling-cmds | |
run: cargo publish -p kittycad-modeling-cmds --dry-run | |
check-typos: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: taiki-e/install-action@just | |
- name: Install the latest version of uv | |
uses: astral-sh/setup-uv@v3 | |
- name: Install codespell | |
run: | | |
uv venv .venv | |
echo "VIRTUAL_ENV=.venv" >> $GITHUB_ENV | |
echo "$PWD/.venv/bin" >> $GITHUB_PATH | |
uv pip install codespell | |
- name: Run codespell | |
# Edit this file to tweak the typo list and other configuration. | |
run: just check-typos | |
cargo-toml-sorted: | |
name: Check Cargo.toml is sorted | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install cargo-sort | |
run: cargo install cargo-sort | |
- name: Run check | |
run: cargo sort --workspace --check |