CI: Drop multiarch tests #73
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: Automatic Code Formatters | |
on: push | |
jobs: | |
autoformat: | |
name: Auto-format code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install formatters | |
run: | | |
sudo apt-get update | |
sudo apt-get install clang-format black | |
- name: Format code | |
run: | | |
clang-format -i --verbose $(find . -name "*.[ch]") | |
black --target-version py36 --verbose --line-length 79 . | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9 | |
with: | |
author_name: Libmodulemd CI | |
author_email: [email protected] | |
message: 'Code auto-formatting' | |
add: -u | |
commit: --signoff | |
push: true |