Skip to content

Commit

Permalink
Merge pull request #1 from ivohlavaty/ci
Browse files Browse the repository at this point in the history
Create ci.yml
  • Loading branch information
Ivo Hlavaty authored Apr 8, 2024
2 parents bd17c8d + 7316f98 commit 8c5120e
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# 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

# Runs a single command using the runners shell
- name: Run a one-line script
run: echo Hello, world!

# Runs a set of commands using the runners shell
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your project.
- name: Run markdown lint
run: |
npm install remark-cli remark-preset-lint-consistent
npx remark . --use remark-preset-lint-consistent --frail
2 changes: 1 addition & 1 deletion resume.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<!--
Note here: Learners -- yup, you found the error!
Expand Down

0 comments on commit 8c5120e

Please sign in to comment.