Skip to content

Update: Add release and run-ci branch to a CI trigger (#20) #88

Update: Add release and run-ci branch to a CI trigger (#20)

Update: Add release and run-ci branch to a CI trigger (#20) #88

Workflow file for this run

name: Lint
on:
workflow_dispatch:
push:
branches:
- main
- ci_testing
- 'release/v**'
- 'run-ci/**'
pull_request:
jobs:
plugin-clang-format:
name: plugin-clang-format
runs-on: ubuntu-latest
container:
image: ubuntu:20.04
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Install clang-format
run: |
apt update
apt install -y clang-format
- name: clang-format
run: |
bash tests/lint/clang-format/run.sh ShortcutAsset
sample-clang-format:
name: sample-clang-format
runs-on: ubuntu-latest
container:
image: ubuntu:20.04
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Install clang-format
run: |
apt update
apt install -y clang-format
- name: clang-format
run: |
bash tests/lint/clang-format/run.sh samples/SampleProject