refactor: update workflow to simplify build and lint process #1

Merged
backmeupplz merged 1 commit from fix-actions into main 2025-05-21 18:39:38 +00:00
backmeupplz commented 2025-05-21 18:39:14 +00:00 (Migrated from github.com)

This pull request updates the GitHub Actions workflow to modify its trigger, rename the workflow, and replace a composite action with explicit steps for better control and customization.

Workflow updates:

  • Renamed the workflow from "Build and lint code" to "Build and lint" for brevity. (.github/workflows/workflow.yml, .github/workflows/workflow.ymlL1-R20)
  • Changed the trigger from pull_request (types: synchronize, opened) to push on the main branch, reflecting a shift in when the workflow runs. (.github/workflows/workflow.yml, .github/workflows/workflow.ymlL1-R20)
  • Replaced the composite action Borodutch/build-and-lint-code@v1.0.3 with explicit steps for checking out the repository, installing dependencies, building the code, and linting, providing more granular control over the process. (.github/workflows/workflow.yml, .github/workflows/workflow.ymlL1-R20)
This pull request updates the GitHub Actions workflow to modify its trigger, rename the workflow, and replace a composite action with explicit steps for better control and customization. Workflow updates: * Renamed the workflow from "Build and lint code" to "Build and lint" for brevity. (`.github/workflows/workflow.yml`, [.github/workflows/workflow.ymlL1-R20](diffhunk://#diff-126bf89616b7daa3d14ebc882ad18666aaf1c3dae888c4ba306a66ec80758bc1L1-R20)) * Changed the trigger from `pull_request` (types: `synchronize`, `opened`) to `push` on the `main` branch, reflecting a shift in when the workflow runs. (`.github/workflows/workflow.yml`, [.github/workflows/workflow.ymlL1-R20](diffhunk://#diff-126bf89616b7daa3d14ebc882ad18666aaf1c3dae888c4ba306a66ec80758bc1L1-R20)) * Replaced the composite action `Borodutch/build-and-lint-code@v1.0.3` with explicit steps for checking out the repository, installing dependencies, building the code, and linting, providing more granular control over the process. (`.github/workflows/workflow.yml`, [.github/workflows/workflow.ymlL1-R20](diffhunk://#diff-126bf89616b7daa3d14ebc882ad18666aaf1c3dae888c4ba306a66ec80758bc1L1-R20))
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Borodutch/smart-contract-starter!1
No description provided.