Skip to content

Commit

Permalink
action: checks for dev-tools (#32755) (#32798)
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Aug 24, 2022
1 parent adad521 commit 0d97755
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/check-dev-tools.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: check-dev-tools

on:
pull_request:
paths:
- '.github/workflows/check-dev-tools.yml'
- 'dev-tools/**'
- 'libbeat/scripts/Makefile'

env:
BEAT_MODULE: 'dev-tools'

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fetch Go version from .go-version
run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Run check/update
run: |
go install github.com/magefile/mage
make -C ${{ env.BEAT_MODULE }} check
1 change: 1 addition & 0 deletions .github/workflows/opentelemetry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
workflow_run:
workflows:
- check-x-pack-packetbeat
- check-dev-tools
- check-packetbeat
- golangci-lint
- auditbeat
Expand Down
1 change: 0 additions & 1 deletion Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ projects:
- "x-pack/osquerybeat"
- "x-pack/packetbeat"
- "x-pack/winlogbeat"
- "dev-tools"

## Changeset macros that are defined here and used in each specific 2.0 pipeline.
changeset:
Expand Down

0 comments on commit 0d97755

Please sign in to comment.