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-next-version
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 736a91f commit 4deafc0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/conventional-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ env:
FORCE_COLOR: 1

jobs:
Linting:
linting:
name: Linting
runs-on: ubuntu-latest
steps:
- name: Download Earthly v0.7.17.
Expand All @@ -19,8 +20,8 @@ jobs:
fetch-depth: 0
- name: Linting commits.
run: earthly --ci +conventional-commits-linting --from_reference "origin/${{ github.base_ref }}"
Next-Version:
name: Next Version
check-next-version:
name: Check Next Version
runs-on: ubuntu-latest
steps:
- name: Download Earthly v0.7.17.
Expand All @@ -31,4 +32,4 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Checking expected vs current version.
run: earthly --ci +conventional-commits-next-version-checking --from_reference "origin/${{ github.base_ref }}"
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 @@ -34,12 +34,12 @@ conventional-commits-linting:
RUN ./ci/conventional-commits-linting.sh --from-reference "${from_reference}"


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


INSTALL_DEPENDENCIES:
Expand Down

0 comments on commit 4deafc0

Please sign in to comment.