Skip to content

Add a simple CI

Add a simple CI #7

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
CodeFormatting:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Dependencies
run: |
sudo apt-get install clang-format-15
go get github.com/bazelbuild/buildtools/buildifier
- name: Run formatting style check
run: scripts/run-format.sh