Refactor lint-test-build workflow to improve readability of Docker run command

This commit is contained in:
Luis Eduardo
2025-02-03 04:20:06 +00:00
parent 53380c9dcf
commit 60dd3b265c

View File

@@ -37,12 +37,12 @@ jobs:
- name: Run lint, test, and build
run: >
docker run --rm -v $PWD:/app -w /app pgbackweb:latest /bin/bash -c "\
npm install && \
go mod download && \
task fixperms && \
task check-deps && \
task lint-only && \
task test-only && \
task build \
docker run --rm -v $PWD:/app -w /app pgbackweb:latest /bin/bash -c "
npm install &&
go mod download &&
task fixperms &&
task check-deps &&
task lint-only &&
task test-only &&
task build
"