Skip to content

Commit

Permalink
Merge pull request #6 from security-alliance/add-ci
Browse files Browse the repository at this point in the history
👷 Add Sanity Check CI Pipeline
  • Loading branch information
samczsun authored Apr 17, 2024
2 parents 94cb3fe + af0994d commit 7059846
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
with:
check_filenames: true
skip: ./.git
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7059846

Please sign in to comment.