From 656867b81c7ecdc47e835714d5073937ecfb6fd6 Mon Sep 17 00:00:00 2001
From: Piotr Galar <piotr.galar@gmail.com>
Date: Mon, 24 Apr 2023 09:44:27 +0200
Subject: [PATCH] ci: update apt before installing deps (#9831)

---
 .github/workflows/build.yml    | 1 -
 .github/workflows/sharness.yml | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 50889613b..1f16d9bf3 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -148,7 +148,6 @@ jobs:
         with:
           repository: ipfs/go-ipfs-http-client
           path: go-ipfs-http-client
-          ref: bump-for-rcmgr-last-push
       - uses: protocol/cache-go-action@v1
         with:
           name: ${{ github.job }}
diff --git a/.github/workflows/sharness.yml b/.github/workflows/sharness.yml
index 012a6a982..2d9dfb41d 100644
--- a/.github/workflows/sharness.yml
+++ b/.github/workflows/sharness.yml
@@ -32,7 +32,7 @@ jobs:
         with:
           path: kubo
       - name: Install missing tools
-        run: sudo apt install -y socat net-tools fish libxml2-utils
+        run: sudo apt update && sudo apt install -y socat net-tools fish libxml2-utils
       - name: Restore Go Cache
         uses: protocol/cache-go-action@v1
         with:
-- 
GitLab