CI and Build System Improvements (#75) #1
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: Style | |
| on: [push, pull_request] | |
| concurrency: | |
| group: ${{ github.ref }}-${{ github.head_ref }}-style | |
| cancel-in-progress: true | |
| jobs: | |
| tabs: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Tabs | |
| run: | | |
| if [ -f ".github/workflows/style/check_tabs.sh" ]; then | |
| .github/workflows/style/check_tabs.sh | |
| else | |
| echo "Tab check script not found. Skipping tab check." | |
| exit 0 | |
| fi | |
| trailing_whitespaces: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Trailing Whitespaces | |
| run: | | |
| if [ -f ".github/workflows/style/check_trailing_whitespaces.sh" ]; then | |
| .github/workflows/style/check_trailing_whitespaces.sh | |
| else | |
| echo "Trailing whitespace check script not found. Skipping whitespace check." | |
| exit 0 | |
| fi |