Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Commit

Permalink
style: changing target to check-conventional-commits-linting
Browse files Browse the repository at this point in the history
To keep the consistent format of `check-...` used by all the other targets.
  • Loading branch information
DeveloperC286 committed Sep 15, 2023
1 parent 4deafc0 commit 90e077a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/conventional-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ env:
FORCE_COLOR: 1

jobs:
linting:
name: Linting
check-linting:
name: Check Linting
runs-on: ubuntu-latest
steps:
- name: Download Earthly v0.7.17.
Expand All @@ -18,7 +18,7 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Linting commits.
- name: Check commits Linting.
run: earthly --ci +conventional-commits-linting --from_reference "origin/${{ github.base_ref }}"
check-next-version:
name: Check Next Version
Expand All @@ -31,5 +31,5 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Checking expected vs current version.
- name: Check expected vs current version.
run: earthly --ci +check-conventional-commits-next-version --from_reference "origin/${{ github.base_ref }}"
4 changes: 2 additions & 2 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ check-clean-git-history:
RUN ./ci/check-clean-git-history.sh --from-reference "${from_reference}"


conventional-commits-linting:
check-conventional-commits-linting:
FROM +rust-base
RUN cargo install conventional_commits_linter --version 0.12.3
DO +COPY_METADATA
ARG from_reference="origin/HEAD"
RUN ./ci/conventional-commits-linting.sh --from-reference "${from_reference}"
RUN ./ci/check-conventional-commits-linting.sh --from-reference "${from_reference}"


check-conventional-commits-next-version:
Expand Down

0 comments on commit 90e077a

Please sign in to comment.