Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/microsoft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,22 @@ name: Microsoft
on:
push:
branches: [ main ]
paths-ignore:
- 'crates/**'
- 'Cargo.toml'
- 'Cargo.lock'
- 'Justfile'
- 'docs/**'
- '.github/workflows/rust.yml'
pull_request:
branches: [ main ]
paths-ignore:
- 'crates/**'
- 'Cargo.toml'
- 'Cargo.lock'
- 'Justfile'
- 'docs/**'
- '.github/workflows/rust.yml'

jobs:
build:
Expand Down
44 changes: 44 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Rust

on:
push:
branches: [ main, rust-port ]
paths:
- 'crates/**'
- 'Cargo.toml'
- 'Cargo.lock'
- 'tests/golden/**'
- 'tests/more_languages/**'
- 'tests/path_to_test/**'
- '.github/workflows/rust.yml'
pull_request:
branches: [ main ]
paths:
- 'crates/**'
- 'Cargo.toml'
- 'Cargo.lock'
- 'tests/golden/**'
- 'tests/more_languages/**'
- 'tests/path_to_test/**'
- '.github/workflows/rust.yml'

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
# golden parity tests compare bytes; CRLF translation would break them
- name: Disable git autocrlf
run: git config --global core.autocrlf false
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Format
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Test
run: cargo test --workspace --all-features
14 changes: 14 additions & 0 deletions .github/workflows/unix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,22 @@ name: Linux & MacOS
on:
push:
branches: [ main ]
paths-ignore:
- 'crates/**'
- 'Cargo.toml'
- 'Cargo.lock'
- 'Justfile'
- 'docs/**'
- '.github/workflows/rust.yml'
pull_request:
branches: [ main ]
paths-ignore:
- 'crates/**'
- 'Cargo.toml'
- 'Cargo.lock'
- 'Justfile'
- 'docs/**'
- '.github/workflows/rust.yml'

jobs:
# CI
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,6 @@ tests/version_increments/renamed_dry_run_version.py
.mcp_server.pid

# using uv sometimes we get a build folder
build/
build/
# Rust workspace
/target/
Loading
Loading