Răsfoiți Sursa

Clean up disk space in CI

Cesar Rodas 1 lună în urmă
părinte
comite
0efbe2c86b

+ 10 - 0
.github/workflows/ci.yml

@@ -490,6 +490,16 @@ jobs:
     steps:
       - name: checkout
         uses: actions/checkout@v4
+      - name: Free Disk Space (Ubuntu)
+        uses: jlumbroso/free-disk-space@main
+        with:
+          tool-cache: false
+          android: true
+          dotnet: true
+          haskell: true
+          large-packages: true
+          docker-images: true
+          swap-storage: true
       - name: Install Nix
         uses: DeterminateSystems/nix-installer-action@v17
       - name: Nix Cache

+ 1 - 1
crates/cdk-common/src/pub_sub/subscriber.rs

@@ -99,7 +99,7 @@ where
 /// Lightweight sink used by producers to send events to subscribers.
 ///
 /// You usually do not construct a `Subscriber` directly — it is provided to you in
-/// the [`Topic::fetch_events`] callback so you can backfill a new subscription.
+/// the [`Spec::fetch_events`] callback so you can backfill a new subscription.
 #[derive(Debug)]
 pub struct Subscriber<S>
 where

+ 1 - 1
crates/cdk/src/event.rs

@@ -12,7 +12,7 @@ use cdk_common::{
 use serde::de::DeserializeOwned;
 use serde::{Deserialize, Serialize};
 
-/// Simple wrapper over NotificationPayload<QuoteId> which is a foreign type
+/// Simple wrapper over `NotificationPayload<QuoteId>` which is a foreign type
 #[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize)]
 #[serde(bound = "T: Serialize + DeserializeOwned")]
 pub struct MintEvent<T>(NotificationPayload<T>)