Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 40 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,18 @@ jobs:
with:
fetch-depth: 1

- name: Set up Go
uses: actions/setup-go@v7
with:
go-version: '1.25'
cache: false

- name: Install standalone build optimizer
shell: bash
run: |
echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH"
go install mvdan.cc/sh/v3/cmd/shfmt@v3.13.1

- name: Setup Config
run: cp .env.example .env

Expand Down Expand Up @@ -79,6 +91,18 @@ jobs:
sudo apt-get install -y locales "${{ matrix.language_pack }}"
sudo locale-gen "${{ matrix.lang }}"

- name: Set up Go
uses: actions/setup-go@v7
with:
go-version: '1.25'
cache: false

- name: Install standalone build optimizer
shell: bash
run: |
echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH"
go install mvdan.cc/sh/v3/cmd/shfmt@v3.13.1

- name: Setup Config
run: cp .env.example .env

Expand Down Expand Up @@ -231,12 +255,27 @@ jobs:
with:
fetch-depth: 1

- name: Set up Go
uses: actions/setup-go@v7
with:
go-version: '1.25'
cache: false

- name: Install standalone build optimizer
shell: bash
run: |
echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH"
CGO_ENABLED=0 go install mvdan.cc/sh/v3/cmd/shfmt@v3.13.1

- name: Setup Config
run: cp .env.example .env

- name: Run Tests
run: |
docker run --rm -v "$(pwd)":/project alpine:latest /bin/sh -c " \
docker run --rm \
-v "$(pwd)":/project \
-v "$(go env GOPATH)/bin/shfmt":/usr/local/bin/shfmt:ro \
alpine:latest /bin/sh -c " \
apk update && \
apk add --no-cache bash make git jq && \
adduser -D builder && \
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- JSON reports write ordinary filenames, test names and empty messages without per-field processes, preserving existing escaping (#1369)

### Fixed
- Linux test jobs install the standalone build optimizer required by beta installer acceptance tests (#1383)
- A late timeout signal no longer interrupts `tear_down`; hanging cleanup remains bounded by the watchdog (#1376)
- Piped parallel output no longer waits for an inactive spinner's sleep process (#1368)

Expand Down
Loading