Log raw events and errors containing events to a separate file #843
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: check-x-pack-auditbeat | |
on: | |
pull_request: | |
paths: | |
- '.github/workflows/check-xpack-auditbeat.yml' | |
- 'x-pack/auditbeat/**' | |
- 'auditbeat/**' | |
env: | |
BEAT_MODULE: 'x-pack/auditbeat' | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version-file: .go-version | |
- name: Update package lists | |
run: sudo apt-get update | |
- name: Install librpm-dev | |
run: sudo apt-get install -y librpm-dev | |
- name: Run check/update | |
uses: magefile/mage-action@v2 | |
with: | |
args: check update | |
workdir: "${{ env.BEAT_MODULE }}" |