diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf43738..0e3c7a7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,8 +20,6 @@ jobs: detect-project: name: Detect Rust Project runs-on: ubuntu-latest - env: - RUNNER_TOOL_CACHE: /toolcache outputs: project-dir: ${{ steps.detect.outputs.project-dir }} project-name: ${{ steps.detect.outputs.project-name }} @@ -58,8 +56,6 @@ jobs: needs: [detect-project] if: ${{ !failure() && !cancelled() }} runs-on: ubuntu-latest - env: - RUNNER_TOOL_CACHE: /toolcache steps: - uses: actions/checkout@v4 @@ -83,8 +79,6 @@ jobs: set-tag: name: Set Tag Name runs-on: ubuntu-latest - env: - RUNNER_TOOL_CACHE: /toolcache outputs: tag_name: ${{ steps.set_tag.outputs.tag_name }} steps: @@ -145,8 +139,6 @@ jobs: needs: [detect-project, test] if: ${{ !failure() && !cancelled() }} runs-on: ubuntu-latest - env: - RUNNER_TOOL_CACHE: /toolcache strategy: matrix: include: @@ -206,8 +198,6 @@ jobs: needs.build.result == 'success' && github.event_name != 'pull_request' runs-on: ubuntu-latest - env: - RUNNER_TOOL_CACHE: /toolcache environment: production steps: - uses: actions/checkout@v4 @@ -243,12 +233,7 @@ jobs: tag: name: Create Tag needs: [docker-build, build, set-tag] - #if: | - # github.event_name == 'push' && - # needs.docker-build.result == 'success' runs-on: ubuntu-latest - env: - RUNNER_TOOL_CACHE: /toolcache steps: - uses: actions/checkout@v4 with: diff --git a/WatcherAgent/src/models.rs b/WatcherAgent/src/models.rs index 92b98f2..1fb398d 100644 --- a/WatcherAgent/src/models.rs +++ b/WatcherAgent/src/models.rs @@ -1,5 +1,3 @@ - - /// # Models Module /// /// This module defines all data structures (DTOs) used for communication between WatcherAgent and the backend server, as well as hardware metrics and Docker container info. @@ -194,4 +192,4 @@ pub struct DockerContainer { pub _net_in: f64, pub _net_out: f64, pub _cpu_load: f64, -} \ No newline at end of file +}