Skip to content

Commit

Permalink
fix: docker-compose --> docker compose
Browse files Browse the repository at this point in the history
- An alias of `docker-compose` command is deprecated.
  • Loading branch information
KEINOS committed Aug 12, 2024
1 parent b1852f7 commit 755c02d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- name: Build Docker images if no-cache
if: steps.cache.outputs.cache-hit != 'true'
run: |
docker-compose build
docker compose build
- name: Save/export built images to cache dir if no-cache
if: steps.cache.outputs.cache-hit != 'true'
Expand All @@ -68,6 +68,6 @@ jobs:
docker save --output ${{ env.PATH_CACHE }}/${{ steps.imagetag.outputs.hash }}/go-totp_latest_1.tar go-totp_latest:latest
- name: Run tests on Go 1.22
run: docker-compose run v1_22
run: docker compose run v1_22
- name: Run tests on latest Go
run: docker-compose run latest
run: docker compose run latest
4 changes: 2 additions & 2 deletions .github/workflows/weekly-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ jobs:
- name: Update go.mod and go.sum min Go ver env
run: |
set -eu
docker-compose run tidy
docker compose run tidy
- name: Run tests
# Test only with the latest version of Go. Since on PR, the CIs will
# run on all Go versions.
run: |
set -eu
docker-compose run latest
docker compose run latest
- name: Create Pull Request on Change
uses: peter-evans/create-pull-request@v4
Expand Down

0 comments on commit 755c02d

Please sign in to comment.