elastic-github-actions
                                
                                 elastic-github-actions copied to clipboard
                                
                                    elastic-github-actions copied to clipboard
                            
                            
                            
                        What is the best way to use elasticsearch as services in GHA
jobs:
  buikd:
    name: build
    runs-on: ubuntu-latest
    services:
      elasticsearch:
        image: elastic/elastic-github-actions/elasticsearch@master
        /*         how do I specific the volume/es's version etc here?
         **
         */
        ports:
        - 9200:9200
    steps:
      - run: curl -X GET http://localhost:9200/_cluster/health