Skip to content

Commit a51b4e9

Browse files
committed
Update PR action to install mkcert
1 parent ef76900 commit a51b4e9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/test_pr.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,19 @@ jobs:
2929
go-version: ${{ matrix.go-version }}
3030
- name: Install dependencies
3131
run: go mod download
32+
33+
- name: Install dependencies for mkcert
34+
run: |
35+
sudo apt-get update
36+
sudo apt-get install -y libnss3-tools
37+
38+
- name: Install mkcert
39+
run: |
40+
go install filippo.io/mkcert@latest
41+
# Add mkcert to the PATH if not already there
42+
echo "PATH=$(go env GOPATH)/bin:$PATH" >> $GITHUB_ENV
43+
mkcert -install
44+
3245
- name: Unit and Integration test
3346
env:
3447
CL_INFOCLACE_SSH: ${{ secrets.CL_INFOCLACE_SSH }}

0 commit comments

Comments
 (0)