mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-10 01:30:37 -04:00
7b0ec8a4c4
# Description of Changes CI is currently failing in a bunch of places since we tweaked the Rust versions available in our CI runner, and it revealed that many of our workflows don't set the default rust toolchain. # API and ABI breaking changes None. CI only. # Expected complexity level and risk 1 # Testing - [x] CI passes in this PR --------- Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
31 lines
884 B
YAML
31 lines
884 B
YAML
name: Upgrade Version Check
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize]
|
|
merge_group:
|
|
permissions: read-all
|
|
|
|
jobs:
|
|
version_upgrade_check:
|
|
runs-on: spacetimedb-new-runner-2
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- uses: dsherret/rust-toolchain-file@v1
|
|
- name: Set default rust toolchain
|
|
run: rustup default $(rustup show active-toolchain | cut -d' ' -f1)
|
|
# pnpm is required for regenerating the typescript bindings
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
- uses: pnpm/action-setup@v4
|
|
with:
|
|
run_install: true
|
|
- name: Verify that upgrade-version still works
|
|
run: cargo bump-versions 123.456.789 --rust-and-cli --csharp --typescript --cpp --accept-snapshots
|
|
- name: Show diff
|
|
run: git diff HEAD
|
|
|