Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Markdown Lint

on:
pull_request:
branches: [dev]
push:
branches: [dev]

jobs:
markdownlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Run markdownlint
uses: DavidAnson/markdownlint-cli2-action@v16
with:
globs: |
**/*.md
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Thumbs.db
*.swo

# 빌드 결과물 및 바이너리 무시
bin/
build/
dist/
*.o
Expand All @@ -26,3 +25,5 @@ logs/
tmp/
temp/
*.tmp

.envrc
25 changes: 25 additions & 0 deletions bin/project
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash

# Project Utility CLI
# Usage: project <command>
CTX=act

if ! docker context inspect "$CTX" >/dev/null 2>&1; then
docker context create "$CTX"
fi

COMMAND=$1
shift

case "$COMMAND" in
ci)
echo "Simulating Dev CI (act)..."
docker context use "$CTX"
act pull_request -W .github/workflows/ci.yml --container-architecture linux/amd64
docker context use default
;;
*)
echo "Usage: project {ci}"
exit 1
;;
esac