Skip to content

Commit

Permalink
action: checks for dev-tools (#32755)
Browse files Browse the repository at this point in the history
(cherry picked from commit 2515a93)
  • Loading branch information
v1v authored and mergify[bot] committed Aug 24, 2022
1 parent b7d8a2a commit 2586efc
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 18 deletions.
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 @@ -17,7 +17,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
17 changes: 0 additions & 17 deletions dev-tools/Jenkinsfile.yml

This file was deleted.

0 comments on commit 2586efc

Please sign in to comment.