name: Check scripts syntax on: [push] jobs: check-scripts-syntax: runs-on: ubuntu-latest steps: - name: Check out repository code uses: actions/checkout@v4 - name: List files in the repository run: | ls ${{ gitea.workspace }} - name: Check scripts syntax run: | bash -n ${{ gitea.workspace }}/*.sh