dialects #1068
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: dialects | |
on: | |
schedule: | |
- cron: '4 5 * * *' | |
workflow_dispatch: | |
jobs: | |
dialects: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: "1.21" | |
- run: go install mvdan.cc/[email protected] | |
- uses: actions/checkout@v2 | |
- run: make dialects-nodocker | |
- run: | | |
test -z "$(git status --porcelain)" || | |
( make test-nodocker \ | |
&& git add . \ | |
&& REV=$(curl -sL https://api.github.com/repos/mavlink/mavlink/branches/master | jq -r '.commit.sha') \ | |
&& git config user.name gomavlib-bot \ | |
&& git config user.email bot@gomavlib \ | |
&& git commit -m "(automatic) update dialects to rev https://github.com/mavlink/mavlink/tree/${REV}" \ | |
&& git push ) |