Skip to content

Commit

Permalink
update job
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Nov 4, 2024
1 parent 514516d commit 90b26fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

complete:
if: always()
needs: [fmt, check-git-rev-deps, semver-checks, build-and-test, docs, readme, release-notes]
needs: [fmt, check-git-rev-deps, semver-checks, build-and-test, docs, readme, migration-docs]
runs-on: ubuntu-latest
steps:
- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
Expand Down Expand Up @@ -168,16 +168,16 @@ jobs:
- run: make readme
- run: git add -N . && git diff HEAD --exit-code

release-notes:
migration-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: stellar/actions/rust-cache@main
- run: rustup update
- run: |
version="$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[] | select(.name == "soroban-sdk") | .version | split("\\.";"")[0] | "v"+.')"
git grep "pub mod #{version};" \
|| (echo "The _migrating::#{version} module is missing." && exit 1)
git grep "#{version}" -- soroban-sdk/src/_migrating.rs \
|| (echo "The _migrating #{version} section is missing." && exit 1)
publish-dry-run:
if: github.event_name == 'push' || startsWith(github.head_ref, 'release/')
Expand Down

0 comments on commit 90b26fa

Please sign in to comment.