Skip to content

fix: add missing 'dev' stage name to Dockerfile #1505

fix: add missing 'dev' stage name to Dockerfile

fix: add missing 'dev' stage name to Dockerfile #1505

Workflow file for this run

name: Test
on:
push:
branches:
- main
paths-ignore:
- "**.md"
- "docs/**"
pull_request:
paths-ignore:
- "**.md"
- "docs/**"
concurrency:
group: test-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
test:
runs-on: ubuntu-latest
services:
elasticsearch:
image: elasticsearch:8.17.1
ports:
- 9200:9200
env:
discovery.type: single-node
xpack.security.enabled: "false"
ES_JAVA_OPTS: "-Xms128m -Xmx128m"
options: >-
--health-cmd "curl -f http://localhost:9200/_cluster/health"
--health-interval 10s
--health-timeout 5s
--health-retries 10
env:
ES_TEST_SERVER_URL: "http://localhost:9200"
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version-file: "go.mod"
cache: true
- name: Run Test
run: make test
- name: Install goveralls and send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
go install github.com/mattn/goveralls@latest
goveralls -coverprofile=coverage.out -service=github