ci: add test job to release workflow

This commit is contained in:
2026-01-20 10:26:30 +08:00
parent 344e978d3c
commit 3fe39b11c4

View File

@@ -10,7 +10,22 @@ permissions:
contents: write contents: write
jobs: jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Run Tests
# Docker is pre-installed on ubuntu-latest, so testcontainers will work automatically.
run: cargo test
build-and-release: build-and-release:
needs: test
name: Build and Release name: Build and Release
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy: