ci: add pr lint workflow (#3157)
This commit is contained in:
12
.github/workflows/main.yaml
vendored
12
.github/workflows/main.yaml
vendored
@@ -26,19 +26,9 @@ jobs:
|
||||
with:
|
||||
go-version: 1.22.1
|
||||
- run: make lint-backend
|
||||
lint-commits:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
- run: make lint-commits
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [lint-frontend, lint-backend, lint-commits]
|
||||
needs: [lint-frontend, lint-backend]
|
||||
steps:
|
||||
- run: echo "done"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user