From 0081a316862903d9355072814565893ce4cd5c71 Mon Sep 17 00:00:00 2001 From: ironchan Date: Sat, 15 Apr 2023 16:15:30 -0700 Subject: [PATCH 1/4] Create blank.yml exercise 2 --- .github/workflows/blank.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/blank.yml diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml new file mode 100644 index 0000000..7ad04c6 --- /dev/null +++ b/.github/workflows/blank.yml @@ -0,0 +1,30 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "main" branch + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + - name: Run markdown lint + run: | + npm install remark-cli remark-preset-lint-consistent + npx remark . --use remark-preset-lint-consistent --frail From ed8300cf79e68685023e8abe3697add15652afa3 Mon Sep 17 00:00:00 2001 From: ironchan Date: Sat, 15 Apr 2023 16:27:38 -0700 Subject: [PATCH 2/4] Update resume.md --- resume.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resume.md b/resume.md index a1f6e6b..3d2e7ef 100644 --- a/resume.md +++ b/resume.md @@ -6,7 +6,7 @@ _Charting the knowledge of the Internet, just like Galileo charted the stars._ ### GitHub Trainer -Teach all things *Git*, give away all the stickers, ensure world peace. +Teach all things _Git_, give away all the stickers, ensure world peace. -
+

Step 1: Add a test workflow

_Welcome to "GitHub Actions: Continuous Integration"! :wave:_ @@ -96,7 +96,7 @@ First, let's add a workflow to lint our Markdown files in this repository. Define terms and link to docs.github.com. --> -
+

Step 2: Fix the test

_Great job adding the templated workflow! :tada:_