mirror of
https://github.com/awfufu/traudit
synced 2026-03-01 05:29:44 +08:00
ci: add test job to release workflow
This commit is contained in:
15
.github/workflows/release.yml
vendored
15
.github/workflows/release.yml
vendored
@@ -10,7 +10,22 @@ permissions:
|
||||
contents: write
|
||||
|
||||
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:
|
||||
needs: test
|
||||
name: Build and Release
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
|
||||
Reference in New Issue
Block a user