Skip to content

Commit 2b8036d

Browse files
committed
feat: wip: setup github actions
1 parent 35f3246 commit 2b8036d

File tree

2 files changed

+35
-3
lines changed

2 files changed

+35
-3
lines changed

.github/workflows/build_and_test.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,12 @@ jobs:
4444
- uses: ConorMacBride/install-package@v1
4545
with:
4646
apt: libmemcached-dev
47-
- uses: niden/actions-memcached@v7
48-
- uses: supercharge/redis-github-action@1.7.0
49-
- uses: stanleymasinde/mailpit-action
47+
# - uses: niden/actions-memcached@v7
48+
# - uses: supercharge/redis-github-action@1.7.0
49+
# - uses: stanleymasinde/mailpit-action
50+
- uses: hoverkraft-tech/compose-action@v2.0.1
51+
with:
52+
compose-file: "./docker/compose-services-only.yml"
5053
- name: Setup PDM
5154
uses: pdm-project/setup-pdm@v4
5255
- name: Install dependencies

docker/compose-services-only.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
volumes:
2+
mailpit-data:
3+
4+
services:
5+
redis:
6+
image: redis:latest
7+
hostname: redis
8+
9+
memcached:
10+
image: memcached:latest
11+
hostname: memcached
12+
13+
mailpit:
14+
image: axllent/mailpit
15+
hostname: mailpit
16+
restart: always
17+
volumes:
18+
- mailpit-data:/data
19+
- ./docker/mailpit:/certificates
20+
ports:
21+
- 8025:8025
22+
- 1025:1025
23+
environment:
24+
MP_MAX_MESSAGES: 5000
25+
MP_DATA_FILE: /data/mailpit.db
26+
MP_SMTP_AUTH_ACCEPT_ANY: 1
27+
MP_SMTP_AUTH_ALLOW_INSECURE: 1
28+
MP_SMTP_TLS_CERT: /certificates/dev-cert.pem
29+
MP_SMTP_TLS_KEY: /certificates/dev-key.pem

0 commit comments

Comments
 (0)