on: push
jobs:
  test:
    strategy:
      # OK: Expanding object value
      matrix: ${{ fromJSON(github.event.labels) }}
    runs-on: ubuntu-latest
    steps:
      - uses: actions/cache@v4
        id: cache
        with:
          key: foo
          path: bar
      # OK
      - run: echo "${{ 'hello' }} ${{ true }} ${{ 42 }}"
      # OK: Any type
      - run: echo "${{ env.FOO }}"
      # OK: Expanding object value
      - run: echo "$FOO"
        env: ${{ matrix.env }}
      # ERROR: loose object, strict object, and array
      - run: echo "${{github.event}} ${{steps.cache.outputs}} ${{github.event.commits.*}}"
      # ERROR: null
      - run: echo "${{null}}"
