diff --git a/.editorconfig b/.editorconfig index febbc2c..13be9ab 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,3 +9,7 @@ trim_trailing_whitespace = true [*.c] indent_size = 4 + +[*.yml] +indent_size = 2 +indent_style = space diff --git a/.github/workflows/betty.yml b/.github/workflows/betty.yml new file mode 100644 index 0000000..f8d8f4c --- /dev/null +++ b/.github/workflows/betty.yml @@ -0,0 +1,21 @@ +name: Betty CI + +on: + push: + branches: [ "main" ] + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Install Betty + run: | + git clone https://github.com/holbertonschool/Betty.git + cd ./Betty + sudo ./install.sh + + - name: Run betty + run: betty *.c *.h