Skip to content

Commit

Permalink
ci: use nightly rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
DDtKey committed Jun 14, 2024
1 parent 7789466 commit b7e54ff
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
merge_group:
push:
branches: [main]
branches: [ main ]

concurrency:
group: ${{ github.ref }}
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: nightly
components: rustfmt
override: true
- name: Rustfmt check
Expand Down
3 changes: 1 addition & 2 deletions testcontainers/src/core/containers/request.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
use std::{borrow::Cow, collections::BTreeMap, net::IpAddr, time::Duration};

use crate::core::ports::ExposedPort;
use crate::{
core::{mounts::Mount, ContainerState, ExecCommand, WaitFor},
core::{mounts::Mount, ports::ExposedPort, ContainerState, ExecCommand, WaitFor},
Image, TestcontainersError,
};

Expand Down
6 changes: 4 additions & 2 deletions testcontainers/src/images/generic.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
use crate::core::ports::ExposedPort;
use crate::{core::WaitFor, Image};
use crate::{
core::{ports::ExposedPort, WaitFor},
Image,
};

#[must_use]
#[derive(Debug, Clone)]
Expand Down

0 comments on commit b7e54ff

Please sign in to comment.