Skip to content

Commit d95dabf

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

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,23 @@ jobs:
1515
with:
1616
ref: ${{github.event.pull_request.head.ref}}
1717
repository: ${{github.event.pull_request.head.repo.full_name}}
18-
- name: Install SFDX CLI and authorize DevHub
18+
- name: Install SF CLI and authorize DevHub
1919
uses: apex-enterprise-patterns/setup-sfdx@v2 #We're using a fork of https://github.com/sfdx-actions/setup-sfdx for safety
2020
with:
2121
sfdx-auth-url: ${{ secrets.DEVHUB_SFDXURL }}
22-
# Install the required plugins
23-
- run: echo y | sf plugins install shane-sfdx-plugins
24-
# Setup the config parameters needed
25-
- 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
26-
# Create the scratch org
27-
- run: sf org create scratch --definition-file config/project-scratch-def.json --set-default --duration-days 1 --no-track-source
28-
# Install required dependency frameworks
29-
- run: sf shane github src install --convert --githubuser apex-enterprise-patterns --repo fflib-apex-mocks --path sfdx-source/apex-mocks
22+
- name: Install the required plugins
23+
run: echo y | sf plugins install shane-sfdx-plugins
24+
- name: Setup the config parameters needed
25+
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
26+
- name: Create the scratch org
27+
run: sf org create scratch --definition-file config/project-scratch-def.json --set-default --duration-days 1 --no-track-source
28+
- name: Install required dependency frameworks
29+
run: sf shane github src install --convert --githubuser apex-enterprise-patterns --repo fflib-apex-mocks --path sfdx-source/apex-mocks
3030
- run: sf shane github src install --convert --githubuser apex-enterprise-patterns --repo fflib-apex-common --path sfdx-source/apex-common
31-
# Deploy/compile the codebase
32-
- run: sf project deploy start
33-
# Run the core framework tests
34-
- run: sf apex run test --wait 5
31+
- name: Deploy and compile the codebase
32+
run: sf project deploy start
33+
- name: Run the core framework tests
34+
run: sf apex run test --wait 5
3535
- name: Destroy scratch org
3636
run: sf org delete scratch --no-prompt
3737
if: always()

0 commit comments

Comments
 (0)