Skip to content

Commit

Permalink
Seperate pre-commit in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ad-m committed Aug 12, 2020
1 parent a87a74d commit e04260c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/pre-commit.yml
@@ -0,0 +1,13 @@
name: pre-commit

on:
pull_request:
push:

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
- uses: pre-commit/action@v2.0.0
2 changes: 0 additions & 2 deletions .github/workflows/web.yml
Expand Up @@ -21,8 +21,6 @@ jobs:
- uses: actions/checkout@v1
with:
lfs: true
- name: Lint check
uses: pre-commit/action@v2.0.0
- name: Build application
run: docker-compose build web
env:
Expand Down

0 comments on commit e04260c

Please sign in to comment.