Skip to content

Fix: docker compose pip dependencies #1764

Fix: docker compose pip dependencies

Fix: docker compose pip dependencies #1764

name: check-x-pack-metricbeat
on:
pull_request:
paths:
- '.github/workflows/check-xpack-metricbeat.yml'
- 'x-pack/metricbeat/**'
- 'metricbeat/**'
env:
BEAT_MODULE: 'x-pack/metricbeat'
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version'
cache: 'pip'
cache-dependency-path: ./libbeat/tests/system/requirements.txt
- uses: actions/setup-go@v3
with:
go-version-file: .go-version
cache-dependency-path: ./go.sum
- name: Run check/update
run: |
go install github.com/magefile/mage
make -C ${{ env.BEAT_MODULE }} check update
make check-no-changes