Skip to content

Commit

Permalink
Merge branch 'main' into usage
Browse files Browse the repository at this point in the history
  • Loading branch information
eseidel authored Mar 4, 2024
2 parents dd5a214 + ba94c09 commit b8f9eb6
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 5 deletions.
39 changes: 39 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "pub"
directory: "/shorebird_code_push"
schedule:
interval: "weekly"
groups:
shorebird_code_push-deps:
patterns:
- "*"
- package-ecosystem: "cargo"
directory: "/library"
schedule:
interval: "weekly"
groups:
library-deps:
patterns:
- "*"
- package-ecosystem: "cargo"
directory: "/patch"
schedule:
interval: "weekly"
groups:
patch-deps:
patterns:
- "*"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
groups:
gh-deps:
patterns:
- "*"
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: 📚 Git Checkout
uses: actions/checkout@v4

- uses: dorny/paths-filter@v2
- uses: dorny/paths-filter@v3
name: Build Detection
id: needs_flutter_build
with:
Expand All @@ -37,7 +37,7 @@ jobs:
- ./.github/actions/flutter_package/action.yaml
- shorebird_code_push/**
- uses: dorny/paths-filter@v2
- uses: dorny/paths-filter@v3
name: Build Detection
id: needs_rust_build
with:
Expand Down
4 changes: 4 additions & 0 deletions patch/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Prevents missing DLLs when running the binary on Windows
# See https://github.com/shorebirdtech/shorebird/issues/1487
[target.'cfg(all(windows, target_env = "msvc"))']
rustflags = ["-C", "target-feature=+crt-static"]
8 changes: 5 additions & 3 deletions patch/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "patch"
version = "0.1.0"
version = "0.2.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand All @@ -12,7 +12,9 @@ bidiff = "1.0.0"
pipe = "0.4.0"
# comde is a wrapper around several compression libraries.
# We only use zstd and could depend on it directly instead.
comde = {version = "0.2.3", default-features = false, features = ["zstandard"]}
comde = { version = "0.2.3", default-features = false, features = [
"zstandard",
] }

# Only used by string_patch tool:
# I don't know how to make them per-target dependencies.
Expand All @@ -21,4 +23,4 @@ comde = {version = "0.2.3", default-features = false, features = ["zstandard"]}
# Only used by the string_patch tool for now.
sha2 = "0.10.6"
# For encoding hashes for Patch network responses.
hex = "0.4.3"
hex = "0.4.3"

0 comments on commit b8f9eb6

Please sign in to comment.