Skip to content
This repository was archived by the owner on Feb 17, 2026. It is now read-only.

ci: deploy

ci: deploy #70

name: '[Workflow] On Source Change'
concurrency:
group: push-${{ github.ref }}
on:
push:
branches:
- '*'
paths:
- 'src/**'
- 'tests/**'
- '.github/workflows/on_source_change.yml'
- '.releaserc.json'
- 'Cargo.toml'
- 'Cargo.lock'
jobs:
static-analysis:
name: 'Static Analysis'
uses: webgrip/workflows/.github/workflows/rust-static-analysis.yml@main
tests:
name: 'Tests'
uses: webgrip/workflows/.github/workflows/rust-tests.yml@main
semantic-release:
name: 'Semantic Release'
needs: [ static-analysis, tests ]
if: always() && needs.tests.result == 'success' && github.ref == 'refs/heads/main'
uses: webgrip/workflows/.github/workflows/rust-semantic-release.yml@main
secrets:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
# build-docker-image:
# name: 'Build Docker Image'
# needs: [ static-analysis, tests ]
# if: always() && needs.tests.result == 'success'
# uses: webgrip/workflows/.github/workflows/rust-build-docker-image.yml@main