diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index d368013..becaf9e 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -16,12 +16,16 @@ jobs: with: go-version: '1.21.x' + - name: Grant execute permissions + run: chmod +x * + working-directory: ./scripts + - name: Run Unit tests run: ./run-test.sh -u working-directory: ./scripts # - name: Run Integration tests - # run: ./run-test.sh -i + # run: sudo ./run-test.sh -i # working-directory: ./scripts # Run static code analysis on source code diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 976e5ea..35e28a6 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -16,6 +16,10 @@ jobs: with: go-version: '1.21.x' + - name: Grant execute permissions + run: chmod +x * + working-directory: ./scripts + - name: Run Unit tests run: ./run-test.sh -u working-directory: ./scripts diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c0976f7..b031a33 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,6 +17,10 @@ jobs: with: go-version: '1.21.x' + - name: Grant execute permissions + run: chmod +x * + working-directory: ./scripts + - name: Run Unit tests run: ./run-test.sh -u working-directory: ./scripts diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index f79bb24..d3c4dc8 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -21,6 +21,10 @@ jobs: - name: Install golangci-lint package 📦 run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest + - name: Grant execute permissions + run: chmod +x * + working-directory: ./scripts + - name: Auto-format and lint Go run: | ./format-and-lint.sh