dust3d/.github/workflows/DEPLOYING.yml

20 lines
510 B
YAML
Raw Normal View History

2022-12-12 08:27:18 +00:00
name: Deploying
on: [push]
jobs:
clang-format-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install clang-format
run: |
sudo apt-get update
sudo apt-get install -y clang-format
- name: Run clang-format
run: cd ${GITHUB_WORKSPACE}/ci && sh ./lint.sh && cd ${GITHUB_WORKSPACE}
- name: Check for changes
run: |
2022-12-12 08:58:53 +00:00
if ! git diff --ignore-space-at-eol --exit-code; then
2022-12-12 08:27:18 +00:00
exit 1
fi