4 Commits

Author SHA1 Message Date
758fa7608f added toolcache
All checks were successful
Rust Cross-Platform Build / Detect Rust Project (push) Successful in 5s
Rust Cross-Platform Build / Set Tag Name (push) Successful in 4s
Rust Cross-Platform Build / Run Tests (push) Successful in 1m10s
Rust Cross-Platform Build / Build (x86_64-unknown-linux-gnu) (push) Successful in 3m1s
Rust Cross-Platform Build / Build (x86_64-pc-windows-gnu) (push) Successful in 3m47s
Rust Cross-Platform Build / Build and Push Docker Image (push) Successful in 2m8s
Rust Cross-Platform Build / Workflow Summary (push) Successful in 2s
Rust Cross-Platform Build / Create Tag (push) Successful in 5s
2025-10-03 13:17:48 +02:00
ee6b947f29 update
All checks were successful
Rust Cross-Platform Build / Detect Rust Project (push) Successful in 4s
Rust Cross-Platform Build / Set Tag Name (push) Successful in 5s
Rust Cross-Platform Build / Run Tests (push) Successful in 1m23s
Rust Cross-Platform Build / Build (x86_64-unknown-linux-gnu) (push) Successful in 2m54s
Rust Cross-Platform Build / Build (x86_64-pc-windows-gnu) (push) Successful in 3m35s
Rust Cross-Platform Build / Build and Push Docker Image (push) Successful in 2m4s
Rust Cross-Platform Build / Workflow Summary (push) Successful in 2s
Rust Cross-Platform Build / Create Tag (push) Successful in 4s
2025-10-03 12:22:12 +02:00
18dd1ef528 keine verdreckte doc 2025-10-02 00:38:23 +02:00
8fa7866cc2 creating directory for doc
All checks were successful
Rust Cross-Platform Build / Detect Rust Project (push) Successful in 5s
Rust Cross-Platform Build / Set Tag Name (push) Successful in 4s
Rust Cross-Platform Build / Run Tests (push) Successful in 1m3s
Rust Cross-Platform Build / Build (x86_64-unknown-linux-gnu) (push) Successful in 3m42s
Rust Cross-Platform Build / Build (x86_64-pc-windows-gnu) (push) Successful in 4m22s
Rust Cross-Platform Build / Build and Push Docker Image (push) Successful in 2m8s
Rust Cross-Platform Build / Workflow Summary (push) Successful in 1s
Rust Cross-Platform Build / Create Tag (push) Successful in 5s
2025-10-01 22:57:06 +02:00
2 changed files with 14 additions and 13 deletions

View File

@@ -20,6 +20,8 @@ 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 }}
@@ -56,6 +58,8 @@ jobs:
needs: [detect-project]
if: ${{ !failure() && !cancelled() }}
runs-on: ubuntu-latest
env:
RUNNER_TOOL_CACHE: /toolcache
steps:
- uses: actions/checkout@v4
@@ -79,6 +83,8 @@ 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:
@@ -139,6 +145,8 @@ jobs:
needs: [detect-project, test]
if: ${{ !failure() && !cancelled() }}
runs-on: ubuntu-latest
env:
RUNNER_TOOL_CACHE: /toolcache
strategy:
matrix:
include:
@@ -189,17 +197,6 @@ jobs:
path: |
${{ needs.detect-project.outputs.project-dir }}/target/${{ matrix.target }}/release/${{ needs.detect-project.outputs.project-name }}${{ matrix.os == 'windows' && '.exe' || '' }}
- name: Build documentation
working-directory: ${{ needs.detect-project.outputs.project-dir }}
run: cargo doc --no-deps
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ${{ needs.detect-project.outputs.project-dir }}/target/doc
publish_branch: gh-pages
docker-build:
name: Build and Push Docker Image
needs: [detect-project, build, set-tag]
@@ -209,6 +206,8 @@ 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
@@ -248,6 +247,8 @@ jobs:
github.event_name == 'push' &&
needs.docker-build.result == 'success'
runs-on: ubuntu-latest
env:
RUNNER_TOOL_CACHE: /toolcache
steps:
- uses: actions/checkout@v4
with:
@@ -268,7 +269,7 @@ jobs:
summary:
name: Workflow Summary
needs: [test, audit, build, docker-build]
needs: [test, build, docker-build]
if: always()
runs-on: ubuntu-latest
steps:

View File

@@ -56,7 +56,7 @@ pub async fn get_available_container(docker: &Docker) -> Vec<DockerContainer> {
})
.unwrap_or_else(|| "unknown".to_string());
println!(" - ID: {}, Image: {:?}, Name: {}", short_id, container.image, name);
println!(" - ID: {}, Image: {}, Name: {}", short_id, container.image.unwrap(), name);
Some(DockerContainer {
ID: short_id.to_string(),