Skip to content

Replace action by Acceleo version #253

Replace action by Acceleo version

Replace action by Acceleo version #253

Workflow file for this run

name: gauntlet
on:
- pull_request
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
upstream:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up script permissions
run: chmod +x ./gauntlet.sh
- name: Set up local master branch
run: git fetch origin master:master
- name: Run script and collect results
env:
CURRENT_BRANCH: ${{ github.head_ref }}
run: |
./gauntlet.sh || echo "GAUNTLET_FAILED=1" >> $GITHUB_ENV
- uses: mshick/add-pr-comment@v2
with:
message-path: fast-chess/message.txt
- name: Fail if gauntlet failed
run: |
if [ -n "$GAUNTLET_FAILED" ]; then
exit 1
fi