Skip to content

Commit 5c662c8

Browse files
committed
added name attribute to most of the commands based on feedback to AEP standard.
1 parent be7104f commit 5c662c8

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

.github/workflows/deploy.and.test.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,21 @@ jobs:
2020
uses: apex-enterprise-patterns/setup-sfdx@v2 #We're using a fork of https://github.com/sfdx-actions/setup-sfdx for safety
2121
with:
2222
sfdx-auth-url: ${{ secrets.DEVHUB_SFDXURL }}
23-
# Install the required plugins
24-
- run: echo y | sf plugins install shane-sfdx-plugins
25-
# Setup the config parameters needed
26-
- run: sf config set target-dev-hub SFDX-ENV --global #Even though the setup-sfdx action uses --setdefaultdevhubusername, it doesn't seem to stick since it uses --setdefaultusername so we brute force it here
27-
# Create the scratch org
28-
- run: sf org create scratch --definition-file config/project-scratch-def.json --set-default --duration-days 1 --no-track-source
29-
# Install required dependency frameworks
30-
- run: sf shane github src install --convert --githubuser apex-enterprise-patterns --repo fflib-apex-mocks --path sfdx-source/apex-mocks
23+
- name: Install the required plugins
24+
run: echo y | sf plugins install shane-sfdx-plugins
25+
- name: Setup the config parameters needed
26+
run: sf config set target-dev-hub SFDX-ENV --global #Even though the setup-sfdx action uses --setdefaultdevhubusername, it doesn't seem to stick since it uses --setdefaultusername so we brute force it here
27+
- name: Create the scratch org
28+
run: sf org create scratch --definition-file config/project-scratch-def.json --set-default --duration-days 1 --no-track-source
29+
- name: Install required dependency frameworks
30+
run: sf shane github src install --convert --githubuser apex-enterprise-patterns --repo fflib-apex-mocks --path sfdx-source/apex-mocks
3131
- run: sf shane github src install --convert --githubuser apex-enterprise-patterns --repo fflib-apex-common --path sfdx-source/apex-common
3232
- run: sf shane github src install --convert --githubuser apex-enterprise-patterns --repo force-di --path force-di
3333
- run: sf shane github src install --convert --githubuser apex-enterprise-patterns --repo at4dx --path sfdx-source/core
34-
# Deploy/compile the codebase
35-
- run: sf project deploy start
36-
# Run the core framework tests
37-
- run: sf apex run test --wait 5
34+
- name: Deploy and compile the codebase
35+
run: sf project deploy start
36+
- name: Run the core framework tests
37+
run: sf apex run test --wait 5
3838
- name: Destroy scratch org
3939
run: sf org delete scratch --no-prompt
4040
if: always()
41-

0 commit comments

Comments
 (0)