Merge pull request #6307 from kit-ty-kate/no-default-ocaml-system #401
This file contains 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: Test scripts | |
on: | |
pull_request: | |
paths: | |
- 'shell/install.sh' | |
- '.github/workflows/scripts.yml' | |
- '.github/scripts/scripts/hygiene.sh' | |
- '.github/scripts/common/hygiene-preamble.sh' | |
push: | |
branches: | |
- 'master' | |
- '2.**' | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
hygiene-scripts: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check scripts | |
env: | |
# Defined only on pull request jobs | |
BASE_REF_SHA: ${{ github.event.pull_request.base.sha }} | |
PR_REF_SHA: ${{ github.event.pull_request.head.sha }} | |
run: bash -exu .github/scripts/scripts/hygiene.sh |