File tree Expand file tree Collapse file tree 18 files changed +1979
-0
lines changed
Expand file tree Collapse file tree 18 files changed +1979
-0
lines changed Original file line number Diff line number Diff line change 1+ name : build
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ tags :
8+ - v*
9+ pull_request :
10+ branches :
11+ - main
12+
13+ permissions :
14+ contents : write
15+
16+ jobs :
17+ build-rust :
18+ strategy :
19+ matrix :
20+ platform : [ubuntu-latest]
21+ runs-on : ${{ matrix.platform }}
22+ steps :
23+ - uses : actions/checkout@v4
24+ with :
25+ fetch-depth : 0
26+ submodules : recursive
27+ - name : Install Rust
28+ run : rustup toolchain install stable --component llvm-tools-preview
29+ - name : Install cargo-llvm-cov
30+ uses : taiki-e/install-action@cargo-llvm-cov
31+ - name : install nextest
32+ uses : taiki-e/install-action@nextest
33+ - uses : Swatinem/rust-cache@v2
34+ - name : Check code format
35+ run : cargo fmt -- --check
36+ - name : Check the package for errors
37+ run : cargo check --all
38+ - name : Lint rust sources
39+ run : cargo clippy --all-targets --all-features --tests --benches -- -D warnings
40+ - name : Execute rust tests
41+ run : cargo nextest run --all-features
42+ - name : Generate a changelog
43+ uses : orhun/git-cliff-action@v2
44+ id : git-cliff
45+ if : startsWith(github.ref, 'refs/tags/')
46+ with :
47+ config : cliff.toml
48+ args : -vv --latest --strip header
49+ env :
50+ OUTPUT : CHANGES.md
51+ - name : Release
52+ uses : softprops/action-gh-release@v1
53+ if : startsWith(github.ref, 'refs/tags/')
54+ with :
55+ body : ${{ steps.git-cliff.outputs.content }}
Original file line number Diff line number Diff line change 1+ /target
2+ .DS_Store
3+ /.vscode
Original file line number Diff line number Diff line change 1+ fail_fast : false
2+ repos :
3+ - repo : https://github.com/pre-commit/pre-commit-hooks
4+ rev : v4.3.0
5+ hooks :
6+ - id : check-byte-order-marker
7+ - id : check-case-conflict
8+ - id : check-merge-conflict
9+ - id : check-symlinks
10+ - id : check-yaml
11+ - id : end-of-file-fixer
12+ - id : mixed-line-ending
13+ - id : trailing-whitespace
14+ - repo : https://github.com/psf/black
15+ rev : 22.10.0
16+ hooks :
17+ - id : black
18+ - repo : local
19+ hooks :
20+ - id : cargo-fmt
21+ name : cargo fmt
22+ description : Format files with rustfmt.
23+ entry : bash -c 'cargo fmt -- --check'
24+ language : rust
25+ files : \.rs$
26+ args : []
27+ - id : cargo-deny
28+ name : cargo deny check
29+ description : Check cargo dependencies
30+ entry : bash -c 'cargo deny check -d'
31+ language : rust
32+ files : \.rs$
33+ args : []
34+ - id : typos
35+ name : typos
36+ description : check typo
37+ entry : bash -c 'typos'
38+ language : rust
39+ files : \.*$
40+ pass_filenames : false
41+ - id : cargo-check
42+ name : cargo check
43+ description : Check the package for errors.
44+ entry : bash -c 'cargo check --all'
45+ language : rust
46+ files : \.rs$
47+ pass_filenames : false
48+ - id : cargo-clippy
49+ name : cargo clippy
50+ description : Lint rust sources
51+ entry : bash -c 'cargo clippy --all-targets --all-features --tests --benches -- -D warnings'
52+ language : rust
53+ files : \.rs$
54+ pass_filenames : false
55+ - id : cargo-test
56+ name : cargo test
57+ description : unit test for the project
58+ entry : bash -c 'cargo nextest run --all-features'
59+ language : rust
60+ files : \.rs$
61+ pass_filenames : false
Original file line number Diff line number Diff line change 1+ # Changelog
2+
3+ All notable changes to this project will be documented in this file. See [ conventional commits] ( https://www.conventionalcommits.org/ ) for commit guidelines.
4+
5+ ---
6+ ## [ unreleased]
7+
8+ ### Miscellaneous Chores
9+
10+ - initialize basic structure for the repo - ([ 2436bec] ( https://github.com/tyrchen/qdrant-lib/commit/2436bec4a02caac64f6c1f97ca79b6ce745b4f53 ) ) - Tyr Chen
11+
12+ ### Other
13+
14+ - init the project and add the assets - ([ 6a3ca0a] ( https://github.com/tyrchen/qdrant-lib/commit/6a3ca0a900451c55969cc8dec20afb5351d86599 ) ) - Tyr Chen
15+
16+ <!-- generated by git-cliff -->
You can’t perform that action at this time.
0 commit comments