Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo install -q worker-build
# TODO(augustoccesar)[2026-02-25]: From 0.7.0, the worker-build version is aligned
# with the version of the worker crate. When bumping the worker, it needs to also
# bump the worker-build.
- run: cargo install -q worker-build@0.1.4
- run: worker-build --release
working-directory: worker
5 changes: 4 additions & 1 deletion linkup-cli/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ fn main() {
let worker_target_dir = Path::new(&out_dir).join("worker-target");

let install_status = Command::new("cargo")
.args(["install", "-q", "worker-build"])
// TODO(augustoccesar)[2026-02-25]: From 0.7.0, the worker-build version is aligned
// with the version of the worker crate. When bumping the worker, it needs to also
// bump the worker-build.
.args(["install", "-q", "worker-build@0.1.4"])
.current_dir("../worker")
.env("CARGO_TARGET_DIR", &worker_target_dir)
.status()
Expand Down
6 changes: 0 additions & 6 deletions linkup-cli/src/commands/deploy/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,6 @@ struct CfBinding {
// Possibly other fields like namespace_id, secret text, etc.
}

#[derive(Serialize, Deserialize, Debug, Clone)]
struct CloudflareErrorInfo {
code: Option<u32>,
message: String,
}

#[derive(Deserialize, Debug)]
struct KvNamespace {
id: String,
Expand Down
2 changes: 1 addition & 1 deletion linkup-cli/src/services/cloudflare_tunnel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use hickory_resolver::{
proto::rr::RecordType,
TokioAsyncResolver,
};
use log::{debug, error};
use log::debug;
use serde::{Deserialize, Serialize};
use tokio::time::sleep;
use url::Url;
Expand Down
5 changes: 4 additions & 1 deletion worker/wrangler.toml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ WORKER_TOKEN = "token123"
crons = [ "0 12 * * 2-6" ]

[build]
command = "cargo install -q worker-build && worker-build --release"
# TODO(augustoccesar)[2026-02-25]: From 0.7.0, the worker-build version is aligned
# with the version of the worker crate. When bumping the worker, it needs to also
# bump the worker-build.
command = "cargo install -q worker-build@0.1.4 && worker-build --release"