Skip to content

Commit 40cd002

Browse files
committed
initial commit
1 parent d075419 commit 40cd002

17 files changed

+3300
-0
lines changed

.dockerignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/.github
2+
/target

.github/workflows/ci.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build_and_test:
14+
name: Build and test
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v3
18+
- uses: actions-rs/toolchain@v1
19+
with:
20+
toolchain: stable
21+
components: clippy, rustfmt
22+
- name: Build
23+
run: cargo build --release --all-features --verbose
24+
- name: Run tests
25+
run: cargo test --verbose
26+
- name: Run clippy
27+
uses: actions-rs/clippy-check@v1
28+
with:
29+
token: ${{ secrets.GITHUB_TOKEN }}
30+
args: --all-features
31+
if: github.event_name == 'pull_request'

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/target
2+
docker-compose.yml

0 commit comments

Comments
 (0)