#2487: CI: switch one build to use the C++20 standard #5601
This file contains hidden or 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: PR checks (commit format) | |
| on: pull_request | |
| jobs: | |
| check: | |
| name: Check commit | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| - name: Fetch base_ref HEAD | |
| run: git fetch origin +refs/heads/${{github.base_ref}}:refs/remotes/origin/${{github.base_ref}} | |
| - name: Display base sha | |
| shell: bash | |
| run: echo "${{ github.event.pull_request.base.sha }}" | |
| - uses: DARMA-tasking/check-commit-format@master | |
| with: | |
| revision: ${{ github.event.pull_request.base.sha }} |