Skip to content

Commit

Permalink
Add a simple CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hzeller committed Apr 28, 2024
1 parent 1e5bfc7 commit d9c83f8
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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

0 comments on commit d9c83f8

Please sign in to comment.