remove init hook, use default make target

This commit is contained in:
alu
2026-09-02 16:25:03 +00:00
parent b05cd6fd7a
commit 2d987cd13c
2 changed files with 12 additions and 7 deletions
+3 -3
View File
@@ -22,10 +22,10 @@ jobs:
with: with:
go-version-file: 'go.mod' go-version-file: 'go.mod'
- name: Check and Run `make workflow-init` - name: Check and Run `make` Default Target
run: | run: |
if make -n workflow-init > /dev/null 2>&1; then if command -v make &> /dev/null; then
make workflow-init make
fi fi
- name: Initialize Go - name: Initialize Go
+8 -3
View File
@@ -22,10 +22,10 @@ jobs:
- name: Initialize Runner - name: Initialize Runner
uses: actions/setup-node@v4 uses: actions/setup-node@v4
- name: Check and Run `make workflow-init` - name: Check and Run `make` Default Target
run: | run: |
if make -n workflow-init > /dev/null 2>&1; then if command -v make &> /dev/null; then
make workflow-init make
fi fi
- name: Install Linters - name: Install Linters
@@ -59,9 +59,14 @@ jobs:
if: always() if: always()
run: | run: |
CONFIG_FILE="dev_config/.stylelintrc.json" CONFIG_FILE="dev_config/.stylelintrc.json"
IGNORE_FILE="dev_config/.stylelintignore"
if [ -f "$CONFIG_FILE" ]; then if [ -f "$CONFIG_FILE" ]; then
if [ -f "$IGNORE_FILE" ]; then
npx stylelint --config "$CONFIG_FILE" --ignore-path "$IGNORE_FILE" --formatter verbose '**/*.css'
else
npx stylelint --config "$CONFIG_FILE" --formatter verbose '**/*.css' npx stylelint --config "$CONFIG_FILE" --formatter verbose '**/*.css'
fi fi
fi
- name: Run eslint - name: Run eslint
id: style-js id: style-js