Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Weeklyshell workflow setting #3

Weeklyshell workflow setting

Weeklyshell workflow setting #3

Workflow file for this run

on:
pull_request:
branches:
- main
jobs:
check_42_norm:
runs-on: ubuntu-latest
steps:
- name: install 42 norminette
run: |
sudo apt update
sudp apt install python3 -y
python3 -m pip install --upgrade pip setuptools
python3 -m pip install --upgrade norminette
- name: check for compilation errors
run: |
sudo apt update
sudo apt install build-essentials -y
for f in $(find . -name \*.c); do gcc -Wall -Wextra -Werror -fsyntax-only $f; done
- name: check for 42 norminette requirements
run: norminette .