Skip to content

Commit

Permalink
updated: deploy.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuysshaa committed Dec 13, 2024
1 parent 8caf20e commit 07d4759
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,29 @@ jobs:
- name: List Files
run: ls -R

- name: Check for .golangci.yaml
run: |
if [ -f .golangci.yaml ]; then
echo ".golangci.yaml found"
else
echo ".golangci.yaml not found"
exit 1
fi
- name: List Files in Working Directory
run: ls -la

- name: Clear Cache
run: |
rm -rf ~/.cache/go-build
rm -rf ~/go/pkg/mod
- name: Run Linters
uses: golangci/golangci-lint-action@v3
with:
version: v1.56.2
args: --config .golangci.yaml
working-directory: /home/runner/work/2024_2_BogoSort/2024_2_BogoSort
working-directory: .

run-tests:
name: Run Tests
Expand Down Expand Up @@ -67,4 +84,4 @@ jobs:
git fetch && git pull
sudo docker-compose build
sudo docker-compose down
sudo docker-compose up -d --build --remove-orphans
sudo docker-compose up -d --build --remove-orphans

0 comments on commit 07d4759

Please sign in to comment.