Merge pull request #6 from RaspberryProgramming/build-test-artifact-workflow

Build test artifact workflow
This commit is contained in:
Camerin Figueroa 2024-07-17 14:23:15 -04:00 committed by GitHub
commit 0cc94ec48a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 6 deletions

View File

@ -1,4 +1,4 @@
name: Docker Image CI name: Build and Publish Docker Image
on: on:
push: push:

View File

@ -1,4 +1,4 @@
name: Rust name: Build and Test Rust
on: on:
push: push:
@ -24,6 +24,12 @@ jobs:
toolchain: nightly toolchain: nightly
override: true override: true
- name: Build - name: Build
run: cargo build --verbose run: cargo build --release --verbose
- name: Run tests - 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

View File

@ -1,9 +1,9 @@
# Request Mirror # 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. 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: ## TODO:
- Update Readme - Update Readme