Skip to content

Commit

Permalink
Add empty package to fix Cargo errors
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielleHuisman committed Jun 28, 2024
1 parent f0fec24 commit 3d1230f
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
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
12 changes: 12 additions & 0 deletions packages/leptos/remove-scroll/Cargo.toml
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.

0 comments on commit 3d1230f

Please sign in to comment.