Skip to content

Commit

Permalink
Migration: GitHub Actions: use packaged docker-compose from ubuntu-…
Browse files Browse the repository at this point in the history
…24.04
  • Loading branch information
jayaddison committed Aug 9, 2024
1 parent f59dfb0 commit 2783ecb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ jobs:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
COVERALLS_GIT_BRANCH: ${{ github.ref }}
steps:
- run: apt update
- run: apt install -y docker-compose
- uses: actions/checkout@v4
- name: Fetch latest docker-compose
run: sudo curl -L "https://github.com/docker/compose/releases/download/1.25.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
- name: Build containers
run: docker-compose -f ./docker-compose.yml -f ./docker-compose.ci.yml build --parallel
- name: Test
run: docker-compose -f ./docker-compose.yml -f ./docker-compose.ci.yml run -T app poetry run make test
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Fetch latest docker-compose
run: sudo curl -L "https://github.com/docker/compose/releases/download/1.25.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
- run: apt update
- run: apt install -y docker-compose
- name: Build containers
run: docker-compose -f ./docker-compose.yml -f ./docker-compose.ci.yml build --parallel
- name: Test
Expand Down

0 comments on commit 2783ecb

Please sign in to comment.