Skip to content

Commit

Permalink
Use sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
recmo committed Apr 18, 2023
1 parent 9f88141 commit 272be87
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/ci.yml
Expand Up @@ -32,8 +32,7 @@ jobs:
override: true
components: rustfmt, clippy
- name: Install protoc
run:
apt install -y protobuf-compiler
run: sudo apt install -y protobuf-compiler
- name: Cache build
uses: Swatinem/rust-cache@v2
with:
Expand Down Expand Up @@ -73,8 +72,7 @@ jobs:
toolchain: stable
override: true
- name: Install protoc
run:
apt install -y protobuf-compiler
run: sudo apt install -y protobuf-compiler
- name: Cache build
uses: Swatinem/rust-cache@v2
with:
Expand All @@ -100,8 +98,7 @@ jobs:
toolchain: ${{ matrix.rust }}
override: true
- name: Install protoc
run:
apt install -y protobuf-compiler
run: sudo apt install -y protobuf-compiler
- name: Cache build
uses: Swatinem/rust-cache@v2
with:
Expand Down Expand Up @@ -138,8 +135,7 @@ jobs:
override: true
components: llvm-tools-preview
- name: Install protoc
run:
apt install -y protobuf-compiler
run: sudo apt install -y protobuf-compiler
- name: Cache build
uses: Swatinem/rust-cache@v2
with:
Expand Down Expand Up @@ -195,8 +191,7 @@ jobs:
toolchain: nightly
default: true
- name: Install protoc
run:
apt install -y protobuf-compiler
run: sudo apt install -y protobuf-compiler
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 272be87

Please sign in to comment.