Skip to content

Commit a595c57

Browse files
committed
add boilerplate files
This commit adds the boilerplate files and fixes the CI workflows.
1 parent 64fdc6b commit a595c57

File tree

9 files changed

+2941
-22
lines changed

9 files changed

+2941
-22
lines changed

.github/workflows/check.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ on:
2121
concurrency:
2222
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
2323
cancel-in-progress: true
24-
defaults:
25-
run:
26-
working-directory: ./optd-persistent
2724
name: check
2825
jobs:
2926
fmt:
@@ -61,22 +58,6 @@ jobs:
6158
components: clippy
6259
- name: cargo clippy
6360
run: cargo clippy --locked --all-targets --all-features -- -D warnings
64-
doc:
65-
# run docs generation on nightly rather than stable. This enables features like
66-
# https://doc.rust-lang.org/beta/unstable-book/language-features/doc-cfg.html which allows an
67-
# API be documented as only available in some specific platforms.
68-
runs-on: ubuntu-latest
69-
name: nightly / doc
70-
steps:
71-
- uses: actions/checkout@v4
72-
with:
73-
submodules: true
74-
- name: Install nightly
75-
uses: dtolnay/rust-toolchain@nightly
76-
- name: Install cargo-docs-rs
77-
uses: dtolnay/install@cargo-docs-rs
78-
- name: cargo docs-rs
79-
run: cargo docs-rs
8061
hack:
8162
# cargo-hack checks combinations of feature flags to ensure that features are all additive
8263
# which is required for feature unification

.github/workflows/test.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ on:
1717
concurrency:
1818
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
1919
cancel-in-progress: true
20-
defaults:
21-
run:
22-
working-directory: ./optd-persistent
2320
name: test
2421
jobs:
2522
required:

.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Contains compiled files and executables.
2+
debug/
3+
target/
4+
5+
# These are backup files generated by rustfmt.
6+
**/*.rs.bk
7+
8+
# Ignore any database files.
9+
**/*.db
10+
11+
# We will check in all code-generated entity files, as newer versions of `sea-orm-cli` might
12+
# conflict with previous versions.
13+
# **/entities

0 commit comments

Comments
 (0)