Skip to content

Commit

Permalink
Update job names to reflect the actual process they run
Browse files Browse the repository at this point in the history
Signed-off-by: Arun <[email protected]>
  • Loading branch information
arunsathiya committed Dec 24, 2023
1 parent 2ad267e commit 6d31ce8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- "**.go"

jobs:
test:
diff:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
Expand All @@ -23,14 +23,14 @@ jobs:
echo "Changed directories: $changed_dirs"
echo "::set-output name=matrix::$changed_dirs"
build:
needs: test
test:
needs: diff
runs-on: ubuntu-latest
if: needs.test.outputs.matrix != '[]'
if: needs.diff.outputs.matrix != '[]'
strategy:
fail-fast: false
matrix:
dir: ${{fromJson(needs.test.outputs.matrix)}}
dir: ${{fromJson(needs.diff.outputs.matrix)}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
Expand Down

0 comments on commit 6d31ce8

Please sign in to comment.