Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/autorelease.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Managed by Arrumador
name: Autorelease
on:
push:
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
codeberg.org/readeck/go-readability/v2 v2.1.0 h1:1T72CzXu4nrZr/DA1A5fAkaVsTMx/LSALPkSSZY+NWI=
codeberg.org/readeck/go-readability/v2 v2.1.0/go.mod h1:x3WG9GpWWnkRb7ajP1NmOKSHbafxNUb736lrDZXeXrs=
codeberg.org/readeck/go-readability/v2 v2.1.1 h1:1tEwxFuUqDRP5JABzDHXGWRx5p9S7TElS3U8qQwXC5Y=
codeberg.org/readeck/go-readability/v2 v2.1.1/go.mod h1:x3WG9GpWWnkRb7ajP1NmOKSHbafxNUb736lrDZXeXrs=
github.com/andybalholm/cascadia v1.3.3 h1:AG2YHrzJIm4BZ19iwJ/DAua6Btl3IwJX+VI4kktS1LM=
Expand Down
18 changes: 13 additions & 5 deletions mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,18 @@ run = "bun install"
description = "Install Bun dependencies"

[tasks.test]
run = "go test ./..."
depends = ["test:*"]
description = "Run tests"

[tasks."test:go"]
run = "go test ./..."
description = "Run Go tests"

[tasks.lint]
depends = ["lint:*"]
description = "Run all linters"

[tasks."lint:go"]
[tasks."lint:golangci-lint"]
run = "golangci-lint run"
description = "Run Go linter"

Expand All @@ -38,7 +42,7 @@ description = "Lint with Prettier"
depends = ["fmt:*"]
description = "Format all files"

[tasks."fmt:go"]
[tasks."fmt:golangci-lint"]
run = "golangci-lint run --fix"
description = "Format Go files"

Expand All @@ -47,9 +51,13 @@ run = "bunx prettier --write ."
description = "Format with Prettier"

[tasks.codegen]
run = "echo 'No codegen tasks'"
depends = ["codegen:*"]
description = "Run code generation"

[tasks."codegen:go"]
run = "go mod tidy"
description = "Update Go modules"

[tasks.ci]
depends = ["install", "lint", "test"]
depends = ["lint", "test"]
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

A remoção da tarefa install das dependências da ci provavelmente causará falhas no pipeline de CI. As tarefas lint e test (especificamente golangci-lint e go test) precisam que as dependências do Go sejam baixadas via go mod download para serem executadas corretamente. Sem a etapa install, essas ferramentas serão executadas em um ambiente limpo sem as dependências necessárias.

Sugiro reverter esta parte da mudança para garantir que o CI continue funcionando de forma confiável.

Suggested change
depends = ["lint", "test"]
depends = ["install", "lint", "test"]

description = "Run CI pipeline"