mirror of
https://github.com/keven1024/015.git
synced 2026-05-26 07:08:02 +00:00
chore(lint): simplify linting commands by using working-directory for backend and worker jobs in Gitea workflow
This commit is contained in:
@@ -42,9 +42,7 @@ jobs:
|
||||
uses: golangci/golangci-lint-action@v6
|
||||
with:
|
||||
version: latest
|
||||
|
||||
- name: Run backend lint
|
||||
run: cd backend && golangci-lint run
|
||||
working-directory: backend
|
||||
|
||||
lint-worker:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -61,6 +59,4 @@ jobs:
|
||||
uses: golangci/golangci-lint-action@v6
|
||||
with:
|
||||
version: latest
|
||||
|
||||
- name: Run worker lint
|
||||
run: cd worker && golangci-lint run
|
||||
working-directory: worker
|
||||
|
||||
Reference in New Issue
Block a user