Skip to content

Commit 568d632

Browse files
committed
Update codeql-analysis.yml
1 parent 2599c0a commit 568d632

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@ jobs:
2323
language: [ 'go' ]
2424

2525
steps:
26+
- name: Prerequisites
27+
run: |
28+
sudo apt-get update
29+
sudo apt-get -y install xfonts-75dpi xfonts-base
30+
curl --silent --show-error --location --max-redirs 3 --fail --retry 3 --output wkhtmltopdf-linux-amd64.deb https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.bionic_amd64.deb
31+
sudo dpkg -i wkhtmltopdf-linux-amd64.deb
32+
sudo ldconfig
33+
rm wkhtmltopdf-linux-amd64.deb
34+
2635
- name: Checkout repository
2736
uses: actions/checkout@v2
2837

0 commit comments

Comments
 (0)