diff options
author | Santo Cariotti <santo@dcariotti.me> | 2023-10-16 14:30:50 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2023-10-16 14:30:50 +0200 |
commit | d5948b5ace52c8d3970ca14b9354acf06eb6456f (patch) | |
tree | 312f4efbded432d2e2e2706cfcf48887afad8156 | |
parent | 450eabea277d0e582ed71f103c10ef7b0e5fa9f1 (diff) |
Add Github Action
-rw-r--r-- | .github/workflows/ci.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..248686c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +--- +name: lint + +on: + push: + branches: ["main"] + pull_request: + branches: ["main"] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout Code Repository + uses: actions/checkout@v2 + + - name: Run pre-commit + uses: pre-commit/action@v2.0.3 |