canonical / identity-platform-admin-ui

Admin UI for the Canonical identity broker and identity provider solution
Other
5 stars 4 forks source link

feat: add separate CI worflows to run library tests and linting #224

Closed BarcoMasile closed 4 months ago

BarcoMasile commented 4 months ago

Description

This PR creates a separate CI workflow for the library folder reback-admin-backend. It performes linting and runs unit tests. Right now the action runs on both merges on branch feature-reback-admin-ui-backend and on all opened pull requests. When the folder will be extracted only filenames and relative usages of their path will need to be changed.

Changes

For the linting, I used golangci-lint github action with latest version and the working-directory set to the library folder rebac-admin-backend. For unit tests, I just run make test.