Skip to content

Commit

Permalink
chore: fetch deps for linting (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
hauleth authored Jan 5, 2024
1 parent 4c4a19f commit 5328ca5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/git.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
env:
TYPES: feat|ft|fix|docs|chore|test
run: |
! git log --no-merges --oneline -E --invert-grep --grep="^($TYPES)(\([^)]\))?!?:" --pretty=format:"::error title=Invalid commit message::%h %s" origin/$GITHUB_BASE_REF... | grep "."
! git log --no-merges --oneline -E --invert-grep --grep="^($TYPES)(\([^)]+\))?!?:" --pretty=format:"::error title=Invalid commit message::%h %s" origin/$GITHUB_BASE_REF... | grep "."
2 changes: 2 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-
- name: Fetch dependencies
run: mix do deps.get
- name: Check formatting
run: mix format --check-formatted

Expand Down

0 comments on commit 5328ca5

Please sign in to comment.