Skip to content

Commit b4664af

Browse files
Copilotpelikhan
andcommitted
Use go run for actions commands instead of building binary
Changed Makefile to run actions commands directly using 'go run ./cmd/gh-aw' instead of requiring the binary to be built first. This is more appropriate for project-only development commands. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
1 parent ec0f11a commit b4664af

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/release.lock.yml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,19 +172,19 @@ clean:
172172

173173
# Actions management targets
174174
.PHONY: actions-build
175-
actions-build: build
175+
actions-build:
176176
@echo "Building all actions..."
177-
./gh-aw actions-build
177+
@go run ./cmd/gh-aw actions-build
178178

179179
.PHONY: actions-validate
180-
actions-validate: build
180+
actions-validate:
181181
@echo "Validating action.yml files..."
182-
./gh-aw actions-validate
182+
@go run ./cmd/gh-aw actions-validate
183183

184184
.PHONY: actions-clean
185-
actions-clean: build
185+
actions-clean:
186186
@echo "Cleaning action artifacts..."
187-
./gh-aw actions-clean
187+
@go run ./cmd/gh-aw actions-clean
188188

189189
# Check Node.js version
190190
.PHONY: check-node-version

0 commit comments

Comments
 (0)