Repository navigation
feat: add CI check for executable permissions on shell scripts #99
Workflow file for this run
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: GitHub Actions Workflows | |
| on: pull_request | |
| permissions: | |
| contents: read | |
| jobs: | |
| formatting: | |
| name: Formatting | |
| runs-on: ${{ matrix.architecture }} | |
| strategy: | |
| matrix: | |
| architecture: [ubuntu-24.04, ubuntu-24.04-arm] | |
| steps: | |
| - name: Checkout code. | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Setup Nix. | |
| uses: cachix/install-nix-action@4e002c8ec80594ecd40e759629461e26c8abed15 # v31.9.0 | |
| - name: Check formatting. | |
| run: nix develop -c make check-yaml-formatting | |
| linting: | |
| name: Linting | |
| runs-on: ${{ matrix.architecture }} | |
| strategy: | |
| matrix: | |
| architecture: [ubuntu-24.04, ubuntu-24.04-arm] | |
| steps: | |
| - name: Checkout code. | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Setup Nix. | |
| uses: cachix/install-nix-action@4e002c8ec80594ecd40e759629461e26c8abed15 # v31.9.0 | |
| - name: Check GitHub Actions workflows linting. | |
| run: nix develop -c make check-github-actions-workflows-linting | |
| scripts-permissions: | |
| name: Scripts Permissions | |
| runs-on: ${{ matrix.architecture }} | |
| strategy: | |
| matrix: | |
| architecture: [ubuntu-24.04, ubuntu-24.04-arm] | |
| steps: | |
| - name: Checkout code. | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Check scripts permissions. | |
| run: make check-scripts-permissions |