Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
bash committed Oct 13, 2024
0 parents commit 3060aa4
Show file tree
Hide file tree
Showing 46 changed files with 11,338 additions and 0 deletions.
57 changes: 57 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -Dwarnings

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- run: cargo build --workspace --all-features

clippy:
name: Clippy
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@v2
with:
tool: just
- run: rustup target add wasm32-unknown-unknown
- run: just check

style:
name: Style
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check format
run: cargo fmt -- --check
- name: Check spelling
uses: crate-ci/[email protected]

docs:
name: Docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/install@cargo-docs-rs
- run: rustup override set nightly
- name: Build Docs
run: cargo docs-rs
env:
RUSTDOCFLAGS: -Dwarnings
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/target
dist/
Loading

0 comments on commit 3060aa4

Please sign in to comment.