Skip to content
Merged
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: 3 additions & 11 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release Rust Connector
on:
push:
branches:
- master
- main
paths:
- 'Cargo.toml'
workflow_dispatch:
Expand Down Expand Up @@ -46,16 +46,8 @@ jobs:
restore-keys: |
${{ runner.os }}-cargo-

- name: Run Format
run: |
find examples/ -name "*.rs" -exec rustfmt --check -- {} +
find src/ -name "*.rs" -exec rustfmt --check -- {} +

- name: Run Lint
run: cargo clippy --all-targets --all-features

- name: Run Tests
run: cargo test --all-features
- name: Build (release)
run: cargo build --all-features --release

- name: Publish to crates.io
env:
Expand Down
Loading