-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add empty package to fix Cargo errors
- Loading branch information
1 parent
f0fec24
commit 3d1230f
Showing
3 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: CI | ||
|
||
on: | ||
pull_request: {} | ||
push: | ||
branches: | ||
- main | ||
|
||
env: | ||
RUSTFLAGS: '-Dwarnings' | ||
|
||
jobs: | ||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Rust toolchain | ||
run: rustup toolchain install stable --no-self-update --profile default --target wasm32-unknown-unknown | ||
|
||
- name: Set up Rust cache | ||
uses: swatinem/rust-cache@v2 | ||
with: | ||
cache-on-failure: true | ||
save-if: ${{ github.ref == 'refs/heads/main' }} | ||
|
||
- name: Check formatting | ||
run: cargo fmt --all --check | ||
|
||
- name: Lint | ||
run: cargo clippy --all-features | ||
|
||
- name: Test | ||
run: cargo test --all-features |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[package] | ||
name = "leptos-remove-scroll" | ||
description = "Leptos port of react-remove-scroll." | ||
|
||
authors.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
version.workspace = true | ||
|
||
[dependencies] | ||
leptos.workspace = true |
Empty file.