summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2022-03-15 16:42:35 -0400
committerPaul Moore <paul@paul-moore.com>2022-03-15 22:42:37 -0400
commit2b998990f3ac7a52ccedbd3ba8bd4e301b6d2552 (patch)
treefe517ee52da2357577cd636cfabbe6021e49d84b
parent861e2dc0945c1c7994e3e18ac5f1249aac3c2c1e (diff)
downloadlibseccomp-2b998990f3ac7a52ccedbd3ba8bd4e301b6d2552.tar.gz
github: ensure we update the apt repo before we install packages
Failure to update the apt repo could result in missing packages on the remote apt repo server. Signed-off-by: Paul Moore <paul@paul-moore.com> (imported from commit 7a28dfa86e684197aad2f858ed24a14d63313411)
-rw-r--r--.github/actions/setup/action.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml
index bfbba66..3a5b65a 100644
--- a/.github/actions/setup/action.yml
+++ b/.github/actions/setup/action.yml
@@ -24,6 +24,8 @@ description: "Install dependencies and configure libseccomp"
runs:
using: "composite"
steps:
+ - run: sudo apt-get update
+ shell: bash
- run: sudo apt-get install -y build-essential valgrind clang-tools lcov gperf astyle codespell
shell: bash
- run: |