diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e0f1e9..3edc40b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,9 +22,6 @@ jobs: toolchain: stable components: rustfmt, clippy - - name: Setup Test Enviroment - run: docker-compose up -d - - name: Check formatting uses: actions-rs/cargo@v1 with: @@ -37,6 +34,9 @@ jobs: command: check args: --workspace --all-targets --all-features + - name: Setup Test Enviroment + run: docker-compose up -d + - name: Cargo Test uses: actions-rs/cargo@v1 with: diff --git a/src/lib.rs b/src/lib.rs index db126a8..ceb9b5b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -535,7 +535,7 @@ impl TransClient { /// let basic_auth = BasicAuth{user: env::var("TUSER")?, password: env::var("TPWD")?}; /// let mut client = TransClient::with_auth(&url, basic_auth); /// let add: TorrentAddArgs = TorrentAddArgs { - /// filename: Some("https://releases.ubuntu.com/20.04/ubuntu-20.04-desktop-amd64.iso.torrent".to_string()), + /// filename: Some("https://releases.ubuntu.com/jammy/ubuntu-22.04.1-desktop-amd64.iso.torrent".to_string()), /// ..TorrentAddArgs::default() /// }; /// let res: RpcResponse = client.torrent_add(add).await?; @@ -641,7 +641,7 @@ mod tests { info!("Client is ready!"); let add: TorrentAddArgs = TorrentAddArgs { filename: Some( - "https://releases.ubuntu.com/20.04/ubuntu-20.04-desktop-amd64.iso.torrentt" + "https://releases.ubuntu.com/jammy/ubuntu-22.04.1-desktop-amd64.iso.torrentt" .to_string(), ), ..TorrentAddArgs::default()