Skip to content

Commit

Permalink
Merge branch 'master' into docs/clarify-options
Browse files Browse the repository at this point in the history
  • Loading branch information
kaplanelad authored Dec 12, 2024
2 parents 469f33d + 1a953c4 commit bb3aa47
Show file tree
Hide file tree
Showing 450 changed files with 14,072 additions and 5,847 deletions.
100 changes: 0 additions & 100 deletions .github/workflows/ci-starter-lightweight-service.yml

This file was deleted.

162 changes: 0 additions & 162 deletions .github/workflows/ci-starter-saas.yml

This file was deleted.

26 changes: 5 additions & 21 deletions .github/workflows/ci-example.yml → .github/workflows/demo-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: examples/demo
name: "[demo:ci]"

on:
push:
Expand All @@ -11,8 +11,7 @@ env:
TOOLCHAIN_PROFILE: minimal

jobs:
rustfmt:
name: Check Style
style:
runs-on: ubuntu-latest

permissions:
Expand All @@ -25,31 +24,16 @@ jobs:
with:
toolchain: ${{ env.RUST_TOOLCHAIN }}
components: rustfmt
- run: cargo fmt --all -- --check
working-directory: ./examples/demo

clippy:
name: Run Clippy
runs-on: ubuntu-latest

permissions:
contents: read

steps:
- name: Checkout the code
uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.RUST_TOOLCHAIN }}
- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
- run: cargo fmt --all -- --check
working-directory: ./examples/demo
- name: Run cargo clippy
run: cargo clippy -- -W clippy::nursery -W clippy::pedantic -W rust-2018-idioms -W rust-2021-compatibility
working-directory: ./examples/demo

test:
name: Run Tests
needs: [rustfmt, clippy]
needs: [style]
runs-on: ubuntu-latest

permissions:
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: docs
name: "[docs]"

on:
push:
Expand All @@ -12,7 +12,6 @@ env:

jobs:
check:
name: Check
runs-on: ubuntu-latest

permissions:
Expand All @@ -25,8 +24,7 @@ jobs:
with:
toolchain: ${{ env.RUST_TOOLCHAIN }}
- run: cargo install snipdoc --features exec
- run: snipdoc check
- run: snipdoc check
continue-on-error: true
env:
SNIPDOC_SKIP_EXEC_COMMANDS: true


Loading

0 comments on commit bb3aa47

Please sign in to comment.