Skip to content

Commit

Permalink
chore: merge lint and test workflow files again
Browse files Browse the repository at this point in the history
It will create a nicer UI render
  • Loading branch information
mdelapenya committed Nov 11, 2024
1 parent b638baa commit d4adfd5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 95 deletions.
78 changes: 0 additions & 78 deletions .github/workflows/ci-lint-go.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,26 +39,11 @@ jobs:
echo "${{ steps.set-modified-modules-count.outputs.modules_count }} modules in the build"
echo "${{ steps.set-modified-modules.outputs.modules }}"
lint:
# only run if there are modules to lint
if: ${{ needs.detect-modules.outputs.modules_count > 0 }}
needs: detect-modules
strategy:
matrix:
module: ${{ fromJSON(needs.detect-modules.outputs.modules) }}
uses: ./.github/workflows/ci-lint-go.yml
with:
fail-fast: true
project-directory: "${{ matrix.module }}"
rootless-docker: false
ryuk-disabled: false

test:
# only run if there are modules to test
if: ${{ needs.detect-modules.outputs.modules_count > 0 }}
needs:
- detect-modules
- lint
strategy:
matrix:
go-version: [1.22.x, 1.x]
Expand All @@ -79,7 +64,6 @@ jobs:
if: ${{ contains(fromJSON(needs.detect-modules.outputs.modules), '') }}
needs:
- detect-modules
- lint
name: "Test with reaper off"
strategy:
matrix:
Expand All @@ -100,7 +84,6 @@ jobs:
if: ${{ contains(fromJSON(needs.detect-modules.outputs.modules), '') }}
needs:
- detect-modules
- lint
name: "Test with Rootless Docker"
strategy:
matrix:
Expand Down

0 comments on commit d4adfd5

Please sign in to comment.