Skip to content

Commit

Permalink
chore: download lint script in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Nymphxyz committed Aug 23, 2023
1 parent 74afcc1 commit 79750f9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docker-compose/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ jobs:

- run: docker compose version

- name: Download lint script
run: |
curl -o "lint.sh" "https://raw.githubusercontent.com/United-Earth-Team/.github/main/docker-compose/lint.sh"
chmod +x ./lint.sh
- name: Run lint
run: |
./lint.sh
Expand All @@ -51,4 +56,3 @@ jobs:
script: |
cd ${{ secrets.SERVER_DESTINATION }}
./deploy.sh
5 changes: 5 additions & 0 deletions docker-compose/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
- name: Check docker compose version
run: docker compose version

- name: Download lint script
run: |
curl -o "lint.sh" "https://raw.githubusercontent.com/United-Earth-Team/.github/main/docker-compose/lint.sh"
sudo chmod +x ./lint.sh
- name: Run lint
run: |
./lint.sh

0 comments on commit 79750f9

Please sign in to comment.