chore: update configuration files and improve linting for Windows
Some checks failed
Codespell / Check for spelling errors (push) Has been cancelled
promote / promote (push) Has been cancelled

- Added `go1.24.0.linux-amd64.tar.gz` to `.gitignore`.
- Removed unnecessary newline in `.mergify.yml`.
- Updated `codecov.yml` to correct indentation for ignored files.
- Enhanced `Makefile` to support linting on Windows.
- Adjusted `.github/dependabot.yml` for proper indentation.
- Fixed string quotes in `.github/workflows/checks.yml`.
- Modified `pkg/container/util_windows.go` to ignore unused parameter.
- Updated error handling in `pkg/lookpath/lp_windows.go`.
- Refactored `pkg/runner/step_action_remote.go` to improve URL handling.
- Updated `pkg/runner/hashfiles/index.js` with significant changes for better performance and structure.
This commit is contained in:
2025-08-03 04:28:08 +07:00
parent bf8e52ba71
commit ed08d1dcb4
10 changed files with 5673 additions and 4730 deletions

View File

@@ -53,11 +53,19 @@ lint-md:
.PHONY: lint-rest
lint-rest:
ifeq ($(OS),Windows_NT)
docker run --rm -it \
-v "$(shell cd):/tmp/lint" \
-e GITHUB_STATUS_REPORTER=false \
-e GITHUB_COMMENT_REPORTER=false \
megalinter/megalinter-go:v5
else
docker run --rm -it \
-v $(PWD):/tmp/lint \
-e GITHUB_STATUS_REPORTER=false \
-e GITHUB_COMMENT_REPORTER=false \
megalinter/megalinter-go:v5
endif
.PHONY: lint
lint: lint-go lint-rest