From ba9d0a9eddfd345cb1fd4ffc983c9316b3e34563 Mon Sep 17 00:00:00 2001 From: Martin Holzhauer Date: Tue, 30 May 2023 20:13:46 +0200 Subject: [PATCH 1/4] added apt update --- .github/workflows/rust.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b11714c..4acc607 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -11,6 +11,8 @@ jobs: EXAMPLE: foo steps: - uses: actions/checkout@main + - name: Apt Update + run: apt update - name: Install openssl-sys run: apt install pkg-config - name: Run cargo check From 34411726cc82ca64840ccdd62014534ad6cf5edb Mon Sep 17 00:00:00 2001 From: Martin Holzhauer Date: Tue, 30 May 2023 20:15:47 +0200 Subject: [PATCH 2/4] added noninteractive frontend --- .github/workflows/rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4acc607..1e2bede 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -12,9 +12,9 @@ jobs: steps: - uses: actions/checkout@main - name: Apt Update - run: apt update + run: DEBIAN_FRONTEND=noninteractive apt update - name: Install openssl-sys - run: apt install pkg-config + run: DEBIAN_FRONTEND=noninteractive apt install pkg-config -y - name: Run cargo check run: cargo check - name: Run cargo test From 7c097f8cbf8d6d92cf4736900a0a25c3ddc472bc Mon Sep 17 00:00:00 2001 From: Martin Holzhauer Date: Tue, 30 May 2023 20:19:41 +0200 Subject: [PATCH 3/4] added libssl-dev --- .github/workflows/rust.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1e2bede..8ab2ee5 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -14,7 +14,7 @@ jobs: - name: Apt Update run: DEBIAN_FRONTEND=noninteractive apt update - name: Install openssl-sys - run: DEBIAN_FRONTEND=noninteractive apt install pkg-config -y + run: DEBIAN_FRONTEND=noninteractive apt install pkg-config libssl-dev -y - name: Run cargo check run: cargo check - name: Run cargo test From 53d1b00a207cfb03626cae9f705c7d8d55f37bde Mon Sep 17 00:00:00 2001 From: Martin Holzhauer Date: Tue, 30 May 2023 20:25:35 +0200 Subject: [PATCH 4/4] install git --- .github/workflows/rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 8ab2ee5..aa4b87f 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -12,9 +12,9 @@ jobs: steps: - uses: actions/checkout@main - name: Apt Update - run: DEBIAN_FRONTEND=noninteractive apt update + run: DEBIAN_FRONTEND=noninteractive apt-get update - name: Install openssl-sys - run: DEBIAN_FRONTEND=noninteractive apt install pkg-config libssl-dev -y + run: DEBIAN_FRONTEND=noninteractive apt-get install pkg-config libssl-dev git -y - name: Run cargo check run: cargo check - name: Run cargo test