Set up a basic CI workflow #7

Open
opened 2025-10-08 00:09:19 -03:00 by dunossauro · 1 comment
Member

Since we already have the static checking structure and the setup to run tests (even though tests don't exist yet), we can create a simple workflow using Forgejo Actions to validate the following:

  • typos: Check for spelling errors in the code.
  • lint: Ensure adherence to code style standards.
  • test: Run tests (once they are available).

Although we don't have a dedicated typo tool yet, setting one up is relatively simple. My recommendation is to use typos. The reason for this is that most of us are non-native English speakers, so spelling mistakes or strange word choices might occur more frequently in the code.

Since we already have the static checking structure and the setup to run tests (even though tests don't exist yet), we can create a simple workflow using [Forgejo Actions](https://forgejo.org/docs/latest/user/actions/reference/) to validate the following: * **typos:** Check for spelling errors in the code. * **lint:** Ensure adherence to code style standards. * **test:** Run tests (once they are available). Although we don't have a dedicated typo tool yet, setting one up is relatively simple. My recommendation is to use [**typos**](https://github.com/crate-ci/typos). The reason for this is that most of us are non-native English speakers, so spelling mistakes or strange word choices might occur more frequently in the code.
Owner

I need to install forgejo runners, I'll schedule to do it today, then we'll be able to run actions.

I need to install forgejo runners, I'll schedule to do it today, then we'll be able to run actions.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
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: vitae/backend-vitae#7
No description provided.