fix: the access to the config file #3
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: CI | ||
| on: | ||
| push: | ||
| branches: [main, develop] | ||
| pull_request: | ||
| branches: [main] | ||
| workflow_dispatch: | ||
| jobs: | ||
| validate-action: | ||
| name: Validate GitHub Action | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| - name: Validate Action | ||
| uses: mpalmer/[email protected] | ||
| with: | ||
| path: action.yml | ||
| format-check: | ||
| name: Format Check (dprint) | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| - name: Setup dprint | ||
| uses: dprint/[email protected] | ||
| validate-shell: | ||
| name: Validate Shell Scripts | ||
| runs-on: ubuntu-latest | ||
| if: ${{ hashFiles('**/*.sh') != '' }} | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| - name: ShellCheck | ||
| uses: ludeeus/action-shellcheck@master | ||
| with: | ||
| scandir: "." | ||