Skip to content

Commit db1bbc5

Browse files
committed
ci: test composition - set permissions
1 parent 9f82ca8 commit db1bbc5

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,14 @@ jobs:
290290
id-token: write
291291
contents: read
292292
steps:
293+
- name: Install ARC Dependencies
294+
shell: bash
295+
run: |
296+
# xz-utils might be present on some containers. Install if not present.
297+
if ! command -v xz &> /dev/null; then
298+
sudo apt-get update
299+
sudo apt-get install -y xz-utils
300+
fi
293301
- uses: actions/checkout@v4
294302
- uses: ./.github/actions/setup-go-for-project
295303
- uses: ./.github/actions/avalanchego-setup-action
@@ -314,6 +322,14 @@ jobs:
314322
id-token: write
315323
contents: read
316324
steps:
325+
- name: Install ARC Dependencies
326+
shell: bash
327+
run: |
328+
# xz-utils might be present on some containers. Install if not present.
329+
if ! command -v xz &> /dev/null; then
330+
sudo apt-get update
331+
sudo apt-get install -y xz-utils
332+
fi
317333
- uses: actions/checkout@v4
318334
- uses: ./.github/actions/setup-go-for-project
319335
- uses: ./.github/actions/avalanchego-setup-action

0 commit comments

Comments
 (0)