Skip to content

Commit

Permalink
ci: add job to verify shuttle mode in PR
Browse files Browse the repository at this point in the history
  • Loading branch information
c-git committed Dec 23, 2024
1 parent 912affa commit 297e97e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ensure_shuttle_mode.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Ensure Shuttle Mode

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
types: [ opened, synchronize, reopened ]
branches:
- main

env:
CARGO_TERM_COLOR: always

jobs:
check_mode:
runs-on: ubuntu-latest
steps:
- uses: wykies/checkout@main
- uses: wykies/setup-rust-toolchain@main
- name: Test that code is set in shuttle mode
run: cargo run --bin switch-db -- --no-edit-only-copy shuttle

0 comments on commit 297e97e

Please sign in to comment.