Wait for all services just in case it affects installation? #85
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | |
needs: [lint] | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install mkcert (ubuntu or macos) | |
shell: bash | |
run: |- | |
ARCH="linux/amd64" | |
if [ "${{ matrix.os }}" = "macos-latest" ]; then | |
ARCH="darwin/arm64" | |
elif [ "${{ matrix.os }}" = "macos-13" ]; then | |
ARCH="darwin/amd64" | |
fi | |
curl -JLO "https://dl.filippo.io/mkcert/latest?for=$ARCH" | |
chmod +x mkcert-v* | |
cp mkcert-v* /usr/local/bin/mkcert | |
- name: generate-certs | |
shell: bash | |
run: ./generate-certs.sh | |
- name: generate-secrets | |
shell: bash | |
run: ./generate-secrets.sh |