Skip to content

Move workflows to the right place #4

Move workflows to the right place

Move workflows to the right place #4

Workflow file for this run

name: Unit Test
on:
push:
jobs:
matrix:
runs-on: ubuntu-latest
container:
image: "ruby:3.3"
name: Prepare matrix
outputs:
matrix: ${{ steps.matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v4
- name: Compute matrix
id: matrix
run: |
matrix="$(ruby matrix.rb --json specs)"
echo "${matrix}" | ruby -rjson -0777 -ne 'puts JSON.pretty_generate JSON.parse($_)'
echo "matrix=${matrix}" >> $GITHUB_OUTPUT
test:
name: "${{ matrix.spec }}"
needs: matrix
strategy:
fail-fast: false
matrix:
spec: ${{ needs.matrix.outputs.matrix }}
uses: ./.github/workflows/unit-test-spec.yml

Check failure on line 29 in .github/workflows/unit-test.yml

View workflow run for this annotation

GitHub Actions / Unit Test

Invalid workflow file

The workflow is not valid. In .github/workflows/unit-test.yml (Line: 29, Col: 11): Error from called workflow DataDog/dd-trace-rb/.github/workflows/unit-test-spec.yml@7bc954ac37533d12e17341556c4e38ecf31bcb25 (Line: 37, Col: 5): Unexpected value 'uses' In .github/workflows/unit-test.yml (Line: 29, Col: 11): Error from called workflow DataDog/dd-trace-rb/.github/workflows/unit-test-spec.yml@7bc954ac37533d12e17341556c4e38ecf31bcb25 (Line: 38, Col: 5): Unexpected value 'with'
with:
spec: ${{ matrix.spec }}