Skip to content

Bump actions/checkout from 6 to 7 #12

Bump actions/checkout from 6 to 7

Bump actions/checkout from 6 to 7 #12

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
name: Run Tests on Elasticsearch ${{ matrix.es-version }}
strategy:
matrix:
es-version: ["7.6.2", "8.17.0", "9.1.0"]
services:
elasticsearch:
image: "docker.elastic.co/elasticsearch/elasticsearch:${{ matrix.es-version }}"
ports:
- 9200:9200
env:
discovery.type: single-node
xpack.security.enabled: false
ES_JAVA_OPTS: -Xms512m -Xmx512m
options: >-
--health-cmd "curl -sf http://localhost:9200/_cluster/health"
--health-interval 10s
--health-timeout 5s
--health-retries 20
steps:
- uses: actions/checkout@v7
- name: Test
run: swift test