Skip to content

Commit

Permalink
Fix secret generation in linux
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall authored May 11, 2024
1 parent 3dff5aa commit ed79489
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: template+starter
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: shellcheck scripts/*.sh
test:
needs: [lint]
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

- name: generate-secrets
run: ./generate-secrets.sh

0 comments on commit ed79489

Please sign in to comment.