2 Commits

Author SHA1 Message Date
bb82dad4cf added paths to triggers 2025-11-09 21:09:37 +01:00
303309fff9 renamed existing deploy workflows. added testing workflow 2025-11-09 21:07:59 +01:00
3 changed files with 29 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
name: Docker
name: Deploy Docker Image to Github Container Registry
on:
push:

View File

@@ -1,4 +1,4 @@
name: Rust
name: Deploy Rust to Crates.io
on:
push:

27
.github/workflows/rust_test.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: Test Rust
on:
push:
branches: ["main", "develop"]
paths:
- "./src/**"
- "./Cargo.toml"
pull_request:
branches: ["main", "develop"]
paths:
- "./src/**"
- "./Cargo.toml"
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose