Skip to content

Commit ddf0b57

Browse files
committed
Fix CI, don't have access to the preinstalled Linuxbrew inside a container
1 parent 960d7ee commit ddf0b57

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/test.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,13 @@ jobs:
7171
uses: actions/checkout@v4
7272
- name: Install xcbeautify
7373
run: |
74-
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
75-
brew install xcbeautify
74+
DEBIAN_FRONTEND=noninteractive apt-get update
75+
DEBIAN_FRONTEND=noninteractive apt-get install -y xz-utils curl
76+
curl -fsSLO 'https://github.com/tuist/xcbeautify/releases/download/1.0.1/xcbeautify-1.0.1-x86_64-unknown-linux-gnu.tar.xz'
77+
tar -x -J -f xcbeautify-1.0.1-x86_64-unknown-linux-gnu.tar.xz
7678
- name: Run tests
79+
shell: bash
7780
run: |
7881
set -o pipefail && \
7982
swift test --sanitize=thread --enable-code-coverage |
80-
xcbeautify --is-ci --quiet --renderer github-actions
83+
./xcbeautify --is-ci --quiet --renderer github-actions

0 commit comments

Comments
 (0)