diff --git a/.gitea/workflows/main.yaml b/.gitea/workflows/main.yaml index ad2a7aa..9d5165f 100644 --- a/.gitea/workflows/main.yaml +++ b/.gitea/workflows/main.yaml @@ -1,8 +1,8 @@ -name: Scripts Testing +name: Check scripts syntax on: [push] jobs: - scripts-download-test: + check-scripts-syntax: runs-on: ubuntu-latest steps: - name: Check out repository code @@ -10,6 +10,6 @@ jobs: - name: List files in the repository run: | ls ${{ gitea.workspace }} - - name: Execute download script bash + - name: Check scripts syntax run: | - bash ${{ gitea.workspace }}/scripts-download.sh + bash -n ${{ gitea.workspace }}/*.sh