Run tests before releasing: CI never ran on pushes to main (it listed master); gate cd.yml on CI and run cargo test in make release

This commit is contained in:
Dan Davison
2026-10-04 15:32:31 -04:00
parent 88c761397a
commit b37b4d8e82
3 changed files with 7 additions and 1 deletions
+4
View File
@@ -6,7 +6,11 @@ on:
- '[0-9]+.[0-9]+.[0-9]+'
jobs:
ci:
uses: ./.github/workflows/ci.yml
publish:
needs: ci
name: Publishing for ${{ matrix.job.os }}
runs-on: ${{ matrix.job.os }}
strategy:
+2 -1
View File
@@ -3,8 +3,9 @@ name: CI
on:
push:
branches:
- master
- main
pull_request:
workflow_call:
jobs:
unit_tests:
+1
View File
@@ -17,6 +17,7 @@ check-environment:
[ -n "$$DELTA_OLD_VERSION" ]
[ -n "$$DELTA_NEW_VERSION" ]
mkdir -p .make-sentinels
cargo test
@echo "Release: $$DELTA_OLD_VERSION => $$DELTA_NEW_VERSION"