Skip to content

Commit

Permalink
Initial commit with initial version of the index
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Jan 18, 2024
0 parents commit beefe6f
Show file tree
Hide file tree
Showing 8 changed files with 949 additions and 0 deletions.
63 changes: 63 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
---
name: Rust Validation

on:
push:
branches:
- main
pull_request:
workflow_call: # allow this to be run from other workflows

env:
RUSTDOCFLAGS: -D warnings
RUSTFLAGS: -D warnings
RUST_BACKTRACE: 1
CARGO_UNSTABLE_SPARSE_REGISTRY: true

jobs:
clippy:
name: clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
rustup default stable
rustup update
rustup component add clippy
- uses: Swatinem/rust-cache@v2
- run: cargo clippy --all-features --all-targets -- -D warnings

test:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
include:
- os: ubuntu-latest
name: linux
name: "test on ${{ matrix.name }}"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- run: rustup default stable && rustup update
- uses: Swatinem/rust-cache@v2
- run: cargo test


fmt:
name: formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup default nightly && rustup update
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --all -- --check

doc:
name: docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup default nightly && rustup update
- uses: Swatinem/rust-cache@v2
- run: cargo doc
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
Loading

0 comments on commit beefe6f

Please sign in to comment.