diff --git a/.github/workflows/inclusive-linter.yml b/.github/workflows/inclusive-linter.yml new file mode 100644 index 0000000..b951425 --- /dev/null +++ b/.github/workflows/inclusive-linter.yml @@ -0,0 +1,24 @@ +name: inclusive-linter +on: + - pull_request +jobs: + inclusive-linter: + name: inclusive-linter + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Install inclusive linter + run: | + wget https://github.com/inclusivelint/inclusivelint/releases/download/0.0.6/inclusivelint + sudo apt install dos2unix + sudo chmod +x inclusivelint && dos2unix inclusivelint inclusivelint && sudo mv inclusivelint /usr/bin + sudo mkdir -p /root/.inclusivelint/ + wget https://github.com/inclusivelint/inclusivelint/releases/download/0.0.6/outputRelation.txt + sudo mv outputRelation.txt /root/.inclusivelint/ + sudo ls -ltr /root/.inclusivelint/ + - name: Run inclusive linter + run: | + export TERM=xterm + sudo inclusivelint . diff --git a/.github/workflows/non-inclusive.yml b/.github/workflows/non-inclusive.yml new file mode 100644 index 0000000..45666f3 --- /dev/null +++ b/.github/workflows/non-inclusive.yml @@ -0,0 +1,17 @@ +name: woke +on: + - pull_request +jobs: + woke: + name: woke + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: woke + uses: get-woke/woke-action@v0 + with: + woke-args: --debug + # Cause the check to fail on any broke rules + fail-on-error: true