Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): update Makefile to docker compose v2 #1347

Merged
merged 4 commits into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/sig-sec-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,27 @@ jobs:
Setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup
run: make setup
Lint:
runs-on: ubuntu-latest
needs: Setup
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Lint
run: make lint
Spelling:
runs-on: ubuntu-latest
needs: Setup
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Spelling
run: make spelling
Links:
runs-on: ubuntu-latest
needs: Setup
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Links
run: make links
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@ all: setup lint spelling links
.PHONY: setup
setup:
@echo "Running $@...\n\n"
@docker-compose run $@ ci/[email protected]
@docker-compose down
@docker compose run $@ ci/[email protected]
@docker compose down

.PHONY: lint
lint:
@echo "Running $@...\n\n"
@docker-compose run $@ ci/[email protected]
@docker-compose down
@docker compose run $@ ci/[email protected]
@docker compose down

.PHONY: spelling
spelling:
@echo "Running $@...\n\n"
@docker-compose run $@ ci/[email protected]
@docker-compose down
@docker compose run $@ ci/[email protected]
@docker compose down

.PHONY: links
links:
@echo "Running $@...\n\n"
@docker-compose run $@ ci/[email protected]
@docker-compose down
@docker compose run $@ ci/[email protected]
@docker compose down

1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
version: '2'
services:
setup:
image: node:18
Expand Down
Loading