Skip to content

Fix login button error from QML #169

Fix login button error from QML

Fix login button error from QML #169

Workflow file for this run

name: Clang Format
on: [push, pull_request]
jobs:
clang-format:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: DoozyX/clang-format-lint-action@v0.16
name: "Run clang-format"
with:
source: './src'
extensions: 'hpp,cpp'
clangFormatVersion: 11
inplace: True
- uses: EndBug/add-and-commit@v9
name: "Commit clang-format Change"
with:
message: 'Run clang-format'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
js-beautify:
needs: clang-format
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: "Install js-beautify"
run: sudo npm -g install js-beautify
- name: "🎨 Run js-beautify"
run: find . -regex '.*\.\(qml\|js\)' -exec js-beautify -r {} \;
- uses: EndBug/add-and-commit@v9
name: "Commit js-beautify Change"
with:
message: 'Run js-beautify'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}