Skip to content

Commit

Permalink
Try to restart facade
Browse files Browse the repository at this point in the history
  • Loading branch information
UnicoYal committed Dec 10, 2024
1 parent b763669 commit 4648c77
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 14,723 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,13 @@ jobs:
- name: Check facade changes
id: check_facade
run: |
FILES=$(ls -p | grep -v / || true)
if [ -z "$FILES" ]; then
# Если в корне вообще нет файлов, считаем что изменений нет
if git diff --quiet $BASE_SHA $HEAD_SHA -- \
cmd internal config metrics Dockerfile docker-compose.yml prometheus \
exclude_from_coverage.txt filter_coverage.sh go.mod go.sum Makefile \
migrate.sh README.md run_app.sh; then
echo "changed=false" >> $GITHUB_OUTPUT
else
if git diff --quiet $BASE_SHA $HEAD_SHA -- $FILES; then
echo "changed=false" >> $GITHUB_OUTPUT
else
echo "changed=true" >> $GITHUB_OUTPUT
fi
echo "changed=true" >> $GITHUB_OUTPUT
fi
- name: Set up QEMU
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ on:
branches:
- main
pull_request:
branches:
- main
- database/hw-2
workflow_dispatch:

jobs:
Expand Down
1 change: 0 additions & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ func main() {
a, err := app.New(false)
if err != nil {
log.Fatal(err.Error())
log.Fatal(err.Error())
}

a.Run()
Expand Down
Loading

0 comments on commit 4648c77

Please sign in to comment.