Skip to content

Commit 81abd12

Browse files
committed
gha: elevate privileges for setup task
GH, unlike docker images, does not start us off as root
1 parent fc547ba commit 81abd12

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/coverage.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@ jobs:
1414
- uses: actions/checkout@v2
1515
- name: Get dependencies
1616
run: |
17-
export DEBIAN_FRONTEND=noninteractive
18-
apt-get update
19-
apt-get -y install python3-dev libxml2-dev libxslt1-dev \
17+
export
18+
sudo DEBIAN_FRONTEND=noninteractive apt-get update
19+
sudo DEBIAN_FRONTEND=noninteractive \
20+
apt-get -y install python3-dev libxml2-dev libxslt1-dev \
2021
cmake libyaml-dev libclang-dev llvm-dev \
2122
libglib2.0-dev libjson-glib-dev flex \
2223
ninja-build build-essential python3-pip \
2324
git libgtest-dev
24-
pip3 install -U meson hotdoc gcovr
25+
sudo pip3 install -U meson hotdoc gcovr
2526
- name: Build
2627
run: |
2728
git clone --depth=1 https://github.com/managarm/frigg.git subprojects/frigg

0 commit comments

Comments
 (0)