Skip to content

Commit a38358b

Browse files
committed
Scaffold Plausible CLI core
1 parent 6ef4649 commit a38358b

File tree

15 files changed

+5462
-6
lines changed

15 files changed

+5462
-6
lines changed

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
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+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
16+
- name: Install stable toolchain
17+
uses: dtolnay/rust-toolchain@stable
18+
with:
19+
components: clippy,rustfmt
20+
21+
- name: Cache cargo
22+
uses: Swatinem/rust-cache@v2
23+
24+
- name: Format
25+
run: cargo fmt --all -- --check
26+
27+
- name: Clippy
28+
run: cargo clippy --all-targets --all-features -- -D warnings
29+
30+
- name: Tests
31+
run: cargo test --all-features

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/target

0 commit comments

Comments
 (0)