Skip to content

Commit

Permalink
github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mgonzs13 committed Oct 24, 2024
1 parent db60fdd commit 5a9b85d
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Python CI with Docker and Formatting Check

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:
- name: Checkout code
uses: actions/checkout@v4

- name: Clang Formatter
uses: jidicula/[email protected]
with:
clang-format-version: "13"
check-path: "."
fallback-style: "Mozilla"

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 5a9b85d

Please sign in to comment.