diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7b5f42..1ba1b10 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: with: command: clippy args: --all-targets --all-features --workspace -- -D warnings - + - name: Unit tests uses: actions-rs/cargo@v1 with: @@ -61,14 +61,14 @@ jobs: context: dummy push: false tags: ${{ env.self-test-img_tag }} - + - name: Build Docker image for GPU uses: docker/build-push-action@v4 with: context: gpu push: false tags: ${{ env.self-test-img_tag }}-gpu - + - name: Download gvmkit-build if: startsWith(github.ref, 'refs/tags/') uses: robinraju/release-downloader@v1.8 diff --git a/gpu/Dockerfile b/gpu/Dockerfile index edf50b3..1207748 100644 --- a/gpu/Dockerfile +++ b/gpu/Dockerfile @@ -13,4 +13,3 @@ WORKDIR / COPY --from=builder /usr/local/cargo/bin/ya-self-test-gpu /ya-self-test ENTRYPOINT [ "/ya-self-test" ] - diff --git a/gpu/src/main.rs b/gpu/src/main.rs index 2b22b0e..1258880 100644 --- a/gpu/src/main.rs +++ b/gpu/src/main.rs @@ -1,7 +1,7 @@ -use std::{env, fs}; -use std::error::Error; use golem_gpu_info::GpuDetectionBuilder; use serde_json::json; +use std::error::Error; +use std::{env, fs}; fn main() -> Result<(), Box> { let arg = env::args_os().skip(1).next();