-
Notifications
You must be signed in to change notification settings - Fork 6
41 lines (36 loc) · 1 KB
/
lint-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: lint-test
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: shellcheck *.sh
- uses: hadolint/[email protected]
with:
dockerfile: drupal/Dockerfile
verbose: true
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: install mkcert
run: |-
ARCH="linux/amd64"
if [ "${{ matrix.os }}" = "macos-latest" ]; then
ARCH="darwin/arm64"
elif [ "${{ matrix.os }}" = "windows-latest" ]; then
ARCH="windows/amd64"
fi
curl -JLO "https://dl.filippo.io/mkcert/latest?for=$ARCH"
chmod +x mkcert-v*
sudo cp mkcert-v* /usr/local/bin/mkcert
- name: generate-certs
run: ./generate-certs.sh
shell: bash
- name: generate-secrets
run: ./generate-secrets.sh
shell: bash