Skip to content

Commit 7f529bc

Browse files
committed
Major updates
1 parent 681d3ed commit 7f529bc

1,877 files changed

Lines changed: 8681 additions & 2110 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 60 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,60 @@
1-
name: CI
2-
3-
on:
4-
push:
5-
branches: [ main, develop ]
6-
pull_request:
7-
branches: [ main, develop ]
8-
9-
jobs:
10-
test:
11-
runs-on: ubuntu-latest
12-
13-
steps:
14-
- uses: actions/checkout@v4
15-
16-
- name: Install Rust
17-
uses: dtolnay/rust-toolchain@stable
18-
19-
- name: Cache cargo registry
20-
uses: actions/cache@v3
21-
with:
22-
path: |
23-
~/.cargo/bin/
24-
~/.cargo/registry/index/
25-
~/.cargo/registry/cache/
26-
~/.cargo/git/db/
27-
target/
28-
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
29-
30-
- name: Install dependencies
31-
run: cargo fetch
32-
33-
- name: Run clippy
34-
run: cargo clippy --all-targets --all-features -- -D warnings || true
35-
continue-on-error: true
36-
37-
- name: Run tests
38-
run: cargo test --all-features || true
39-
continue-on-error: true
40-
41-
- name: Build
42-
run: cargo build --release
43-
44-
publish:
45-
needs: test
46-
runs-on: ubuntu-latest
47-
if: github.event_name == 'release' && github.event.action == 'published'
48-
49-
steps:
50-
- uses: actions/checkout@v4
51-
52-
- name: Install Rust
53-
uses: dtolnay/rust-toolchain@stable
54-
55-
- name: Publish to crates.io
56-
run: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }}
57-
env:
58-
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
59-
60-
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main, develop ]
6+
pull_request:
7+
branches: [ main, develop ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Install Rust
17+
uses: dtolnay/rust-toolchain@stable
18+
19+
- name: Cache cargo registry
20+
uses: actions/cache@v3
21+
with:
22+
path: |
23+
~/.cargo/bin/
24+
~/.cargo/registry/index/
25+
~/.cargo/registry/cache/
26+
~/.cargo/git/db/
27+
target/
28+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
29+
30+
- name: Install dependencies
31+
run: cargo fetch
32+
33+
- name: Run clippy
34+
run: cargo clippy --all-targets --all-features -- -D warnings || true
35+
continue-on-error: true
36+
37+
- name: Run tests
38+
run: cargo test --all-features || true
39+
continue-on-error: true
40+
41+
- name: Build
42+
run: cargo build --release
43+
44+
publish:
45+
needs: test
46+
runs-on: ubuntu-latest
47+
if: github.event_name == 'release' && github.event.action == 'published'
48+
49+
steps:
50+
- uses: actions/checkout@v4
51+
52+
- name: Install Rust
53+
uses: dtolnay/rust-toolchain@stable
54+
55+
- name: Publish to crates.io
56+
run: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }}
57+
env:
58+
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
59+
60+

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ coverage/
6868
*.zip
6969
*.tar.gz
7070
*.rar
71-
*.7z
71+
*.7z

0 commit comments

Comments
 (0)