From af0994d9529164f0a8238003f0056cb294a0b547 Mon Sep 17 00:00:00 2001 From: Pascal Marco Caversaccio Date: Tue, 16 Apr 2024 20:07:42 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Add=20Sanity=20Check=20CI=20Pipe?= =?UTF-8?q?line?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pascal Marco Caversaccio --- .github/workflows/checks.yml | 46 ++++++++++++++++++++++++++++++++++++ README.md | 1 + 2 files changed, 47 insertions(+) create mode 100644 .github/workflows/checks.yml diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml new file mode 100644 index 0000000..a4b8295 --- /dev/null +++ b/.github/workflows/checks.yml @@ -0,0 +1,46 @@ +name: 👮‍♂️ Sanity checks + +on: [push, pull_request, workflow_dispatch] + +concurrency: + group: ${{github.workflow}}-${{github.ref}} + cancel-in-progress: true + +jobs: + prettify: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: + - ubuntu-latest + node_version: + - 20 + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Use Node.js ${{ matrix.node_version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node_version }} + + - name: Run Prettier + run: npx prettier -c '**/*.{md,yml,yaml}' + + codespell: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: + - ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Run codespell + uses: codespell-project/actions-codespell@v2.0 + with: + check_filenames: true + skip: ./.git diff --git a/README.md b/README.md index d63cb89..fa6eadb 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,7 @@ The current list of members is available below, for transparency purposes. - Rahul (TRM Labs) - Ayden (Binance) - Symbiotic (Binance) +- Thibault (Dfns) ## SEAL 911 Code of Conduct