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