From 27991daa62686a3a051c917779b10e46fd183fa7 Mon Sep 17 00:00:00 2001 From: Shinsuke Higashiyama aka Cinzeng Zia <94058150+sinsukehlab@users.noreply.github.com> Date: Tue, 31 Oct 2023 00:08:08 +0900 Subject: [PATCH] Update the ci.yml template in instructions (#46) * Update the ci.yml template in Step 3 Bump actions/checkout from 3 to 4 * Edit YAML code block expressions yaml to yml --- .github/steps/1-add-a-test-workflow.md | 2 +- .github/steps/3-upload-test-reports.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/steps/1-add-a-test-workflow.md b/.github/steps/1-add-a-test-workflow.md index 82d526a..549f10c 100644 --- a/.github/steps/1-add-a-test-workflow.md +++ b/.github/steps/1-add-a-test-workflow.md @@ -32,7 +32,7 @@ First, let's add a workflow to lint our Markdown files in this repository. 1. Name your workflow `ci.yml`. 1. Update the workflow to remove all steps other than the "checkout" step. 1. Add the following step to your workflow: - ```yaml + ```yml - name: Run markdown lint run: | npm install remark-cli remark-preset-lint-consistent diff --git a/.github/steps/3-upload-test-reports.md b/.github/steps/3-upload-test-reports.md index 7e07e58..09b1f3d 100644 --- a/.github/steps/3-upload-test-reports.md +++ b/.github/steps/3-upload-test-reports.md @@ -17,11 +17,11 @@ To upload artifacts to the artifact storage, we can use an action built by GitHu 1. Edit your workflow file. 1. Add a step to your `build` job that uses the `upload-artifacts` action. - ```yaml + ```yml build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run markdown lint run: |