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

Commit

Permalink
build: renaming sh abbreviation to shell
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperC286 committed Sep 18, 2023
1 parent f3a9849 commit 31fc0ea
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ jobs:
uses: actions/checkout@v3
- name: Check formatting.
run: earthly --ci +check-go-formatting
sh-formatting:
name: Sh Formatting
shell-formatting:
name: Shell Formatting
runs-on: ubuntu-latest
steps:
- name: Download Earthly v0.7.17.
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.7.17/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
- name: Checkout code.
uses: actions/checkout@v3
- name: Check formatting.
run: earthly --ci +check-sh-formatting
run: earthly --ci +check-shell-formatting
yaml-formatting:
name: YAML Formatting
runs-on: ubuntu-latest
Expand All @@ -60,16 +60,16 @@ jobs:
uses: actions/checkout@v3
- name: Check linting.
run: earthly --ci +check-go-linting
sh-linting:
name: Sh Linting
shell-linting:
name: Shell Linting
runs-on: ubuntu-latest
steps:
- name: Download Earthly v0.7.17.
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.7.17/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
- name: Checkout code.
uses: actions/checkout@v3
- name: Check linting.
run: earthly --ci +check-sh-linting
run: earthly --ci +check-shell-linting
modules:
name: Modules
runs-on: ubuntu-latest
Expand Down
18 changes: 9 additions & 9 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ sh-formatting-base:
DO +COPY_CI_DATA


check-sh-formatting:
check-shell-formatting:
FROM +sh-formatting-base
RUN ./ci/check-sh-formatting.sh
RUN ./ci/check-shell-formatting.sh


yaml-formatting-base:
Expand All @@ -103,7 +103,7 @@ check-yaml-formatting:

check-formatting:
BUILD +check-go-formatting
BUILD +check-sh-formatting
BUILD +check-shell-formatting
BUILD +check-yaml-formatting


Expand All @@ -115,9 +115,9 @@ fix-go-formatting:
SAVE ARTIFACT "./src" AS LOCAL "./src"


fix-sh-formatting:
fix-shell-formatting:
FROM +sh-formatting-base
RUN ./ci/fix-sh-formatting.sh
RUN ./ci/fix-shell-formatting.sh
SAVE ARTIFACT "./ci" AS LOCAL "./ci"


Expand All @@ -129,7 +129,7 @@ fix-yaml-formatting:

fix-formatting:
BUILD +fix-go-formatting
BUILD +fix-sh-formatting
BUILD +fix-shell-formatting
BUILD +fix-yaml-formatting


Expand All @@ -147,11 +147,11 @@ ubuntu-base:
RUN apt-get update --fix-missing


check-sh-linting:
check-shell-linting:
FROM +ubuntu-base
RUN apt-get install shellcheck -y
DO +COPY_CI_DATA
RUN ./ci/check-sh-linting.sh
RUN ./ci/check-shell-linting.sh


check-github-actions-workflows-linting:
Expand All @@ -163,7 +163,7 @@ check-github-actions-workflows-linting:

check-linting:
BUILD +check-go-linting
BUILD +check-sh-linting
BUILD +check-shell-linting
BUILD +check-github-actions-workflows-linting


Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 31fc0ea

Please sign in to comment.