diff --git a/.github/workflows/check-go-dependencies-task.yml b/.github/workflows/check-go-dependencies-task.yml index d3f20040..2d20d32b 100644 --- a/.github/workflows/check-go-dependencies-task.yml +++ b/.github/workflows/check-go-dependencies-task.yml @@ -68,7 +68,7 @@ jobs: with: submodules: recursive - # This is required to allow licensee/setup-licensed to install licensed via Ruby gem. + # This is required to allow licensee/setup-licensed to install Licensed via Ruby gem. - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -135,7 +135,7 @@ jobs: with: submodules: recursive - # This is required to allow licensee/setup-licensed to install licensed via Ruby gem. + # This is required to allow licensee/setup-licensed to install Licensed via Ruby gem. - name: Install Ruby uses: ruby/setup-ruby@v1 with: diff --git a/.github/workflows/check-go-task.yml b/.github/workflows/check-go-task.yml index 2597f167..9d782964 100644 --- a/.github/workflows/check-go-task.yml +++ b/.github/workflows/check-go-task.yml @@ -62,7 +62,7 @@ jobs: matrix: module: - - path: ./ + - path: . - path: docsgen - path: ruledocsgen @@ -99,7 +99,7 @@ jobs: matrix: module: - - path: ./ + - path: . - path: docsgen - path: ruledocsgen @@ -110,7 +110,7 @@ jobs: - name: Install Go uses: actions/setup-go@v6 with: - go-version-file: go.mod + go-version-file: ${{ matrix.module.path }}/go.mod - name: Install Task uses: arduino/setup-task@v2 @@ -142,7 +142,7 @@ jobs: matrix: module: - - path: ./ + - path: . - path: docsgen - path: ruledocsgen @@ -153,7 +153,7 @@ jobs: - name: Install Go uses: actions/setup-go@v6 with: - go-version-file: go.mod + go-version-file: ${{ matrix.module.path }}/go.mod - name: Install Task uses: arduino/setup-task@v2 @@ -185,7 +185,7 @@ jobs: matrix: module: - - path: ./ + - path: . - path: docsgen - path: ruledocsgen @@ -196,7 +196,7 @@ jobs: - name: Install Go uses: actions/setup-go@v6 with: - go-version-file: go.mod + go-version-file: ${{ matrix.module.path }}/go.mod - name: Install Task uses: arduino/setup-task@v2 @@ -228,7 +228,7 @@ jobs: matrix: module: - - path: ./ + - path: . - path: docsgen - path: ruledocsgen @@ -239,7 +239,7 @@ jobs: - name: Install Go uses: actions/setup-go@v6 with: - go-version-file: go.mod + go-version-file: ${{ matrix.module.path }}/go.mod - name: Install Task uses: arduino/setup-task@v2 diff --git a/.github/workflows/check-license.yml b/.github/workflows/check-license.yml index 81960a92..772f9b9e 100644 --- a/.github/workflows/check-license.yml +++ b/.github/workflows/check-license.yml @@ -65,7 +65,7 @@ jobs: matrix: check-license: - - path: ./ + - path: . expected-filename: LICENSE.txt # SPDX identifier: https://spdx.org/licenses/ expected-type: GPL-3.0 diff --git a/.github/workflows/check-npm-task.yml b/.github/workflows/check-npm-task.yml index 332721dc..2376dcbd 100644 --- a/.github/workflows/check-npm-task.yml +++ b/.github/workflows/check-npm-task.yml @@ -107,7 +107,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v5 with: - node-version-file: package.json + node-version-file: "${{ matrix.project.path }}/package.json" - name: Install Task uses: arduino/setup-task@v2 diff --git a/.github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml b/.github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml index fad94411..b46972a9 100644 --- a/.github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml +++ b/.github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml @@ -81,7 +81,7 @@ jobs: - name: Create all generated documentation content run: task docs:generate - - name: Install Python dependencies + - name: Install Dependencies run: task poetry:install-deps - name: Determine versioning parameters diff --git a/.github/workflows/test-go-task.yml b/.github/workflows/test-go-task.yml index db8f5a50..9485734d 100644 --- a/.github/workflows/test-go-task.yml +++ b/.github/workflows/test-go-task.yml @@ -73,7 +73,7 @@ jobs: - windows-latest - macos-latest module: - - path: ./ + - path: . codecov-flags: unit - path: ruledocsgen/ codecov-flags: unit diff --git a/Taskfile.yml b/Taskfile.yml index 62b32b9d..5e48e364 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -9,7 +9,7 @@ vars: PROJECT_NAME: "arduino-lint" DIST_DIR: "dist" # Path of the project's primary Go module: - DEFAULT_GO_MODULE_PATH: ./ + DEFAULT_GO_MODULE_PATH: . DEFAULT_GO_PACKAGES: | $( \ go list \