diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 219c13a..d2f5827 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,3 +4,16 @@ updates: directory: "/" schedule: interval: "daily" + groups: + deps: + patterns: + - "*" + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" + groups: + deps: + patterns: + - "*" \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0bcf77b..63e9a71 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,19 +19,18 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install toolchain - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: - toolchain: stable - target: wasm32-unknown-unknown - profile: minimal + targets: wasm32-unknown-unknown - name: Install wasm-bindgen - uses: jetli/wasm-bindgen-action@v0.1.0 + uses: jetli/wasm-bindgen-action@v0.2.0 with: - version: latest + # Sync version with `Cargo.toml` + version: "0.2.92" - name: Install wasm-opt run: sudo apt-get install -y binaryen @@ -44,14 +43,14 @@ jobs: - name: Setup GitHub Pages if: github.event_name == 'push' - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v4 - name: Upload Pages artifact if: github.event_name == 'push' - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v3 with: path: dist - name: Deploy to GitHub Pages if: github.event_name == 'push' - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4 diff --git a/Cargo.toml b/Cargo.toml index 55b5f9a..4bb4b25 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,17 +8,17 @@ repository = "https://github.com/noviga/lerni" include = ["src/**/*.rs", "examples/**/*.rs"] [dependencies] -derive_more = "0.99.17" -getrandom = { version = "0.2.8", features = ["js"] } -gloo-events = "0.2.0" -gloo-utils = "0.2.0" -leptos = { version = "0.5.1", features = ["csr"] } -leptos-use = "0.8.0" -rand = { version = "0.8.5", default-features = false, features = ["getrandom"] } -wasm-bindgen = "0.2.84" +derive_more = "0.99" +getrandom = { version = "0.2", features = ["js"] } +gloo-events = "0.2" +gloo-utils = "0.2" +leptos = { version = "0.6", features = ["csr"] } +leptos-use = "0.10" +rand = { version = "0.8", default-features = false, features = ["getrandom"] } +wasm-bindgen = "0.2.92" [dependencies.web-sys] -version = "0.3.61" +version = "0.3" features = [ "CanvasRenderingContext2d", "HtmlCanvasElement",