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 16:44:36 -0400
commit7a28dfa86e684197aad2f858ed24a14d63313411 (patch)
tree555f28a6c0875b6cddf24b823582b39777cbfb9f
parentbc27ed0ad114fc2543dc2a782fc2c4c4c518cadc (diff)
downloadlibseccomp-7a28dfa86e684197aad2f858ed24a14d63313411.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>
-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 7e5f0b3..94f6bbb 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: |