chore: use Task, split workflows

This commit is contained in:
Henrique Dias
2025-11-13 16:51:32 +01:00
committed by GitHub
parent 38951d950f
commit 0bab2aba9e
15 changed files with 209 additions and 1492 deletions

40
.github/workflows/lint.yaml vendored Normal file
View File

@@ -0,0 +1,40 @@
name: Lint
on:
push:
branches:
- "master"
tags:
- "v*"
pull_request:
jobs:
frontend:
name: Frontend
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
with:
package_json_file: "frontend/package.json"
- uses: actions/setup-node@v6
with:
node-version: "24.x"
cache: "pnpm"
cache-dependency-path: "frontend/pnpm-lock.yaml"
- working-directory: frontend
run: |
pnpm install --frozen-lockfile
pnpm run lint
backend:
name: Backend
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v6
with:
go-version: "1.25.x"
- uses: golangci/golangci-lint-action@v9
with:
version: "latest"