Skip to content

Commit

Permalink
python formatter and docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
mgonzs13 committed Oct 24, 2024
1 parent a0be3e3 commit ce7681c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@ name: CI with Formatting Check and Docker
on: [push, pull_request]

jobs:
python_formatter:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Black Formatter
uses: lgeiger/black-action@master
with:
args: ". --check --diff"

cpp_formatter:
runs-on: ubuntu-latest
steps:
Expand All @@ -14,3 +25,17 @@ jobs:
with:
clangFormatVersion: 14
source: "."

docker_build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build Docker
uses: docker/build-push-action@v6
with:
push: false

0 comments on commit ce7681c

Please sign in to comment.