-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
action: checks for dev-tools (#32755)
(cherry picked from commit 2515a93)
- Loading branch information
1 parent
b7d8a2a
commit 2586efc
Showing
4 changed files
with
27 additions
and
18 deletions.
There are no files selected for viewing
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
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 |
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
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
This file was deleted.
Oops, something went wrong.