Skip to content

Commit

Permalink
remove installation of unused bats support libs
Browse files Browse the repository at this point in the history
bats-core/bats-action installs a few support libraries by default which are not used by
runc. Disable the installation, which will remove /usr/bin/tar: Permission denied errors.

Signed-off-by: Akhil Mohan <[email protected]>
  • Loading branch information
akhilerm committed Sep 25, 2024
1 parent 47756ed commit 35f999d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ jobs:
uses: bats-core/[email protected]
with:
bats-version: 1.9.0
support-install: false
assert-install: false
detik-install: false
file-install: false

- name: Allow userns for runc
# https://discourse.ubuntu.com/t/ubuntu-24-04-lts-noble-numbat-release-notes/39890#unprivileged-user-namespace-restrictions-15
Expand Down

0 comments on commit 35f999d

Please sign in to comment.