summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorEmīls Piņķis <emils@mullvad.net>2022-09-26 18:03:27 +0200
committerEmīls Piņķis <emils@mullvad.net>2022-09-27 21:13:24 +0200
commitcd3a923fd0730b8da1a4ea55869c1a547e925c56 (patch)
tree7475385a794f1acd1dac87956e5322fb8a9a52ab /.github
parent34ced4259eb413ab23f8434236dcfd83a5a019a5 (diff)
downloadmullvadvpn-cd3a923fd0730b8da1a4ea55869c1a547e925c56.tar.xz
mullvadvpn-cd3a923fd0730b8da1a4ea55869c1a547e925c56.zip
Download protoc in CI
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/android-app.yml5
-rw-r--r--.github/workflows/cargo-audit.yml5
-rw-r--r--.github/workflows/clippy.yml5
-rw-r--r--.github/workflows/daemon.yml15
-rw-r--r--.github/workflows/rust-unused-dependencies.yml5
5 files changed, 35 insertions, 0 deletions
diff --git a/.github/workflows/android-app.yml b/.github/workflows/android-app.yml
index 4e8379e709..193f8f075f 100644
--- a/.github/workflows/android-app.yml
+++ b/.github/workflows/android-app.yml
@@ -30,6 +30,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
+ - name: Install Protoc
+ uses: arduino/setup-protoc@v1
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+
- name: Calculate native lib cache hash
id: native-lib-cache-hash
shell: bash
diff --git a/.github/workflows/cargo-audit.yml b/.github/workflows/cargo-audit.yml
index 0764742e0e..dff6731c44 100644
--- a/.github/workflows/cargo-audit.yml
+++ b/.github/workflows/cargo-audit.yml
@@ -14,6 +14,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
+ - name: Install Protoc
+ uses: arduino/setup-protoc@v1
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+
- name: Install cargo-audit
uses: actions-rs/install@v0.1.2
with:
diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml
index 0b76562513..fddb260da8 100644
--- a/.github/workflows/clippy.yml
+++ b/.github/workflows/clippy.yml
@@ -16,6 +16,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
+ - name: Install Protoc
+ uses: arduino/setup-protoc@v1
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+
- name: Checkout binaries submodule
run: git submodule update --init --depth=1 dist-assets/binaries
diff --git a/.github/workflows/daemon.yml b/.github/workflows/daemon.yml
index f0c8b843d6..beae485ded 100644
--- a/.github/workflows/daemon.yml
+++ b/.github/workflows/daemon.yml
@@ -47,6 +47,11 @@ jobs:
- name: Checkout binaries submodule
run: git submodule update --init --depth=1 dist-assets/binaries
+ - name: Install Protoc
+ uses: arduino/setup-protoc@v1
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+
- name: Install Rust
uses: actions-rs/toolchain@v1.0.6
with:
@@ -72,6 +77,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
+ - name: Install Protoc
+ uses: arduino/setup-protoc@v1
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+
- name: Install Rust
uses: actions-rs/toolchain@v1.0.6
with:
@@ -95,6 +105,11 @@ jobs:
- name: Checkout submodules
run: git submodule update --init --depth=1
+ - name: Install Protoc
+ uses: arduino/setup-protoc@v1
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+
- name: Calculate Windows libraries cache hash
id: windows-modules-hash
shell: bash
diff --git a/.github/workflows/rust-unused-dependencies.yml b/.github/workflows/rust-unused-dependencies.yml
index e655fcc9c9..a6c33f2858 100644
--- a/.github/workflows/rust-unused-dependencies.yml
+++ b/.github/workflows/rust-unused-dependencies.yml
@@ -43,6 +43,11 @@ jobs:
- name: Install cargo-udeps
run: cargo install cargo-udeps
+ - name: Install Protoc
+ uses: arduino/setup-protoc@v1
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+
- name: Check for unused dependencies
run: |
source env.sh