check-merge-with-target.sh 708 B

123456789101112131415161718192021222324
  1. #!/usr/bin/env bash
  2. # Copyright Materialize, Inc. and contributors. All rights reserved.
  3. #
  4. # Use of this software is governed by the Business Source License
  5. # included in the LICENSE file at the root of this repository.
  6. #
  7. # As of the Change Date specified in that file, in accordance with
  8. # the Business Source License, use of this software will be governed
  9. # by the Apache License, Version 2.0.
  10. #
  11. # check-merge-with-target.sh — check if merge with target branch
  12. # succeeds and checks still pass.
  13. set -euo pipefail
  14. . misc/shlib/shlib.bash
  15. . misc/buildkite/git.bash
  16. fetch_pr_target_branch
  17. merge_pr_target_branch
  18. ci_collapsed_heading "Conduct checks"
  19. bin/ci-builder run stable cargo check --all-targets