dialects #1301
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-22.04 | |
steps: | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: "1.22" | |
- run: go install mvdan.cc/gofumpt@v0.5.0 | |
- 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 ) |