Skip to content

Commit 248eee8

Browse files
author
Dillon Nys
committed
Rename action to github_action
1 parent e325c69 commit 248eee8

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

mono_repo/test/generate_test.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,7 +1240,7 @@ sdk:
12401240
12411241
stages:
12421242
- custom_step:
1243-
- action:
1243+
- github_action:
12441244
id: custom-scripts
12451245
run: |
12461246
./script_a
@@ -1304,7 +1304,7 @@ sdk:
13041304
13051305
stages:
13061306
- custom_step:
1307-
- action:
1307+
- github_action:
13081308
id: custom-script
13091309
if: always()
13101310
run: ./script
@@ -1338,7 +1338,7 @@ sdk:
13381338
13391339
stages:
13401340
- custom_step:
1341-
- action:
1341+
- github_action:
13421342
run: ./script
13431343
some-key: some-value
13441344
''')

mono_repo/test/mono_config_test.dart

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ line 4, column 12: Unsupported value for "group". expected a list of tasks
211211
_expectParseThrows(
212212
monoYaml,
213213
r'''
214-
line 9, column 6: Must have one key of `format`, `analyze`, `test`, `command`, `test_with_coverage`, `action`.
214+
line 9, column 6: Must have one key of `format`, `analyze`, `test`, `command`, `test_with_coverage`, `github_action`.
215215
216216
9 │ "weird": "thing"
217217
│ ^^^^^^^
@@ -234,7 +234,7 @@ line 9, column 6: Must have one key of `format`, `analyze`, `test`, `command`, `
234234
_expectParseThrows(
235235
monoYaml,
236236
r'''
237-
line 10, column 6: Must have one and only one key of `format`, `analyze`, `test`, `command`, `test_with_coverage`, `action`.
237+
line 10, column 6: Must have one and only one key of `format`, `analyze`, `test`, `command`, `test_with_coverage`, `github_action`.
238238
239239
10 │ "command": "other thing"
240240
│ ^^^^^^^^^
@@ -416,7 +416,7 @@ stages:
416416
- test: --preset travis --total-shards 5 --shard-index 1
417417
- test #no args
418418
- group:
419-
- action:
419+
- github_action:
420420
run: npm run build
421421
uses: actions/setup-node@v3
422422
with:
@@ -624,8 +624,8 @@ List get _testConfig1expectedOutput => [
624624
'tasks': [
625625
{
626626
'flavor': 'dart',
627-
'name': 'action',
628-
'action': {
627+
'name': 'github_action',
628+
'githubAction': {
629629
'run': 'npm run build',
630630
'uses': 'actions/setup-node@v3',
631631
'with': {'node-version': '16'},
@@ -648,8 +648,8 @@ List get _testConfig1expectedOutput => [
648648
'tasks': [
649649
{
650650
'flavor': 'dart',
651-
'name': 'action',
652-
'action': {
651+
'name': 'github_action',
652+
'githubAction': {
653653
'run': 'npm run build',
654654
'uses': 'actions/setup-node@v3',
655655
'with': {'node-version': '16'},
@@ -672,8 +672,8 @@ List get _testConfig1expectedOutput => [
672672
'tasks': [
673673
{
674674
'flavor': 'dart',
675-
'name': 'action',
676-
'action': {
675+
'name': 'github_action',
676+
'githubAction': {
677677
'run': 'npm run build',
678678
'uses': 'actions/setup-node@v3',
679679
'with': {'node-version': '16'},

0 commit comments

Comments
 (0)