diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 631e77a..3fc65a2 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -1,4 +1,4 @@ -name: Docker Image CI +name: Build and Publish Docker Image on: push: diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index a3485be..59c2a1a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -1,4 +1,4 @@ -name: Rust +name: Build and Test Rust on: push: @@ -24,6 +24,12 @@ jobs: toolchain: nightly override: true - name: Build - run: cargo build --verbose + run: cargo build --release --verbose - name: Run tests - run: cargo test --verbose + run: cargo test --release --verbose + - name: Upload a Build Artifact + uses: actions/upload-artifact@v4.3.4 + with: + name: linux-build + path: target/release/request-mirror + \ No newline at end of file diff --git a/README.md b/README.md index 4232508..78b44db 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # Request Mirror This application provides a web ui for sending get/post requests and provides a visual ui for looking at what the application received. This is written in rust. -![Docker Image CI](https://github.com/RaspberryProgramming/request-mirror/actions/workflows/docker-image.yml/badge.svg +![Build and Publish Docker Image](https://github.com/RaspberryProgramming/request-mirror/actions/workflows/docker-image.yml/badge.svg ) -![Build and Test](https://github.com/RaspberryProgramming/request-mirror/actions/workflows/rust.yml/badge.svg) +![Build and Test Rust](https://github.com/RaspberryProgramming/request-mirror/actions/workflows/rust.yml/badge.svg) ## TODO: - Update Readme