diff --git a/docs/checks.md b/docs/checks.md index 249289208..cef106ad7 100644 --- a/docs/checks.md +++ b/docs/checks.md @@ -2846,7 +2846,7 @@ action_metadata_syntax_validation.yaml:8:15: "env" is not allowed in "runs" sect -All actions require a metadata file `action.yml` or `aciton.yaml`. The syntax is defined in [the official document][action-metadata-doc]. +All actions require a metadata file `action.yml` or `action.yaml`. The syntax is defined in [the official document][action-metadata-doc]. actionlint checks metadata files used in workflows and reports errors when they are not following the syntax. diff --git a/scripts/check-checks/main_test.go b/scripts/check-checks/main_test.go index 576b2584a..21c1cc5c1 100644 --- a/scripts/check-checks/main_test.go +++ b/scripts/check-checks/main_test.go @@ -34,7 +34,7 @@ func testErr(t *testing.T, err error, want ...string) { msg := err.Error() for _, w := range want { if !strings.Contains(msg, w) { - t.Errorf("error message %q does not cotnain expected text %q", msg, w) + t.Errorf("error message %q does not contain expected text %q", msg, w) } } } diff --git a/testdata/examples/contexts_and_buitin_funcs.out b/testdata/examples/contexts_and_builtin_funcs.out similarity index 100% rename from testdata/examples/contexts_and_buitin_funcs.out rename to testdata/examples/contexts_and_builtin_funcs.out diff --git a/testdata/examples/contexts_and_buitin_funcs.yaml b/testdata/examples/contexts_and_builtin_funcs.yaml similarity index 93% rename from testdata/examples/contexts_and_buitin_funcs.yaml rename to testdata/examples/contexts_and_builtin_funcs.yaml index 2164d82ea..6d4c4826b 100644 --- a/testdata/examples/contexts_and_buitin_funcs.yaml +++ b/testdata/examples/contexts_and_builtin_funcs.yaml @@ -16,5 +16,5 @@ jobs: # Function overloads can be handled properly. contains() has string version and array version - run: echo "${{ contains('hello, world', 'lo,') }}" - run: echo "${{ contains(github.event.labels.*.name, 'enhancement') }}" - # format() has a special check for formating string + # format() has a special check for formatting string - run: echo "${{ format('{0}{1}', 1, 2, 3) }}" diff --git a/testdata/ok/issue-294_matrix_row_arry_expression.yaml b/testdata/ok/issue-294_matrix_row_array_expression.yaml similarity index 100% rename from testdata/ok/issue-294_matrix_row_arry_expression.yaml rename to testdata/ok/issue-294_matrix_row_array_expression.yaml