Bump Version #148
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Bump Version | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| version: | |
| description: 'Version to bump to' | |
| required: true | |
| permissions: | |
| actions: write | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| bump-version: | |
| uses: stellar/actions/.github/workflows/rust-bump-version.yml@main | |
| with: | |
| version: ${{ inputs.version }} | |
| bump-fuzz-lock: | |
| needs: bump-version | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| ref: 'release/v${{ inputs.version }}' | |
| - run: rustup update | |
| - run: rustup install nightly | |
| - name: Update fuzz Cargo.lock | |
| run: cargo +nightly update --manifest-path tests/fuzz/fuzz/Cargo.toml soroban-sdk | |
| - name: Commit fuzz Cargo.lock | |
| run: | | |
| git config user.name 'github-actions[bot]' | |
| git config user.email '41898282+github-actions[bot]@users.noreply.github.com' | |
| git add tests/fuzz/fuzz/Cargo.lock | |
| git commit -m 'Update fuzz Cargo.lock for ${{ inputs.version }}' || echo 'No changes to commit' | |
| git push |