detached 80e859b

.github/workflows: fix indentations (#470)

commit
80e859bc9405e1c30d0023296f15c72dda3b37bc
author
Hajime Hoshi · · 2026-06-23 09:30 UTC
committer
GitHub · · 2026-06-23 09:30 UTC
parent
3c86956
signature
GPG UnverifiedB5690EEEBB952194 The key is unknown
1 file · +36 -36
M .github/workflows/test.yml +36 -36
@@ -132,46 +132,46 @@ jobs:
132132 - name: go test (Linux 386)
133133 if: ${{ runner.os == 'Linux' && runner.arch != 'ARM64' }}
134134 run: |
135- sudo apt-get update
136- sudo apt-get install gcc-multilib
137- sudo apt-get install g++-multilib
138- env CGO_ENABLED=0 GOARCH=386 go test -shuffle=on -v -count=10 ./...
139- env CGO_ENABLED=1 GOARCH=386 go test -shuffle=on -v -count=10 ./...
135+ sudo apt-get update
136+ sudo apt-get install gcc-multilib
137+ sudo apt-get install g++-multilib
138+ env CGO_ENABLED=0 GOARCH=386 go test -shuffle=on -v -count=10 ./...
139+ env CGO_ENABLED=1 GOARCH=386 go test -shuffle=on -v -count=10 ./...
140140
141141 - name: go test (Linux arm)
142142 if: ${{ runner.os == 'Linux' && runner.arch == 'ARM64' }}
143143 run: |
144- sudo apt-get update
145- sudo apt-get install -y gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf libc6-armhf-cross
146-
147- # Install the latest QEMU 10.x package from Debian. Ubuntu 24.04 ships QEMU 8.2
148- # which has a bug where inter-thread signal delivery (tgkill) hangs,
149- # causing TestSetuidEtc to deadlock.
150- arch=$(dpkg --print-architecture)
151- qemu_user_deb=$(
152- curl -fsSL https://ftp.debian.org/debian/pool/main/q/qemu/ |
153- grep -Eo "qemu-user_${QEMU_MAJOR_VERSION}\.[0-9.]+\+ds-[0-9]+([+~][A-Za-z0-9.+:~-]+)*_${arch}\.deb" |
154- sort -V |
155- tail -n 1
156- )
157- if [ -z "${qemu_user_deb}" ]; then
158- echo "missing qemu-user ${QEMU_MAJOR_VERSION}.x package for ${arch}" >&2
159- exit 1
160- fi
161- wget -q "https://ftp.debian.org/debian/pool/main/q/qemu/${qemu_user_deb}" -O /tmp/qemu-user.deb
162- sudo dpkg --force-depends -i /tmp/qemu-user.deb
163- sudo apt-get -f install -y
164-
165- # Create symlink for the dynamic linker that QEMU expects
166- sudo ln -sf /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib/ld-linux.so.3
167- go env -w CC=arm-linux-gnueabihf-gcc
168- go env -w CXX=arm-linux-gnueabihf-g++
169- env GOOS=linux GOARCH=arm CGO_ENABLED=0 go test -c -o=purego-test-nocgo .
170- env QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf qemu-arm ./purego-test-nocgo -test.shuffle=on -test.v -test.count=10
171- env GOOS=linux GOARCH=arm CGO_ENABLED=1 go test -c -o=purego-test-cgo .
172- env QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf qemu-arm ./purego-test-cgo -test.shuffle=on -test.v -test.count=10
173- go env -u CC
174- go env -u CXX
144+ sudo apt-get update
145+ sudo apt-get install -y gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf libc6-armhf-cross
146+
147+ # Install the latest QEMU 10.x package from Debian. Ubuntu 24.04 ships QEMU 8.2
148+ # which has a bug where inter-thread signal delivery (tgkill) hangs,
149+ # causing TestSetuidEtc to deadlock.
150+ arch=$(dpkg --print-architecture)
151+ qemu_user_deb=$(
152+ curl -fsSL https://ftp.debian.org/debian/pool/main/q/qemu/ |
153+ grep -Eo "qemu-user_${QEMU_MAJOR_VERSION}\.[0-9.]+\+ds-[0-9]+([+~][A-Za-z0-9.+:~-]+)*_${arch}\.deb" |
154+ sort -V |
155+ tail -n 1
156+ )
157+ if [ -z "${qemu_user_deb}" ]; then
158+ echo "missing qemu-user ${QEMU_MAJOR_VERSION}.x package for ${arch}" >&2
159+ exit 1
160+ fi
161+ wget -q "https://ftp.debian.org/debian/pool/main/q/qemu/${qemu_user_deb}" -O /tmp/qemu-user.deb
162+ sudo dpkg --force-depends -i /tmp/qemu-user.deb
163+ sudo apt-get -f install -y
164+
165+ # Create symlink for the dynamic linker that QEMU expects
166+ sudo ln -sf /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib/ld-linux.so.3
167+ go env -w CC=arm-linux-gnueabihf-gcc
168+ go env -w CXX=arm-linux-gnueabihf-g++
169+ env GOOS=linux GOARCH=arm CGO_ENABLED=0 go test -c -o=purego-test-nocgo .
170+ env QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf qemu-arm ./purego-test-nocgo -test.shuffle=on -test.v -test.count=10
171+ env GOOS=linux GOARCH=arm CGO_ENABLED=1 go test -c -o=purego-test-cgo .
172+ env QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf qemu-arm ./purego-test-cgo -test.shuffle=on -test.v -test.count=10
173+ go env -u CC
174+ go env -u CXX
175175
176176 - name: go test race (no Cgo)
177177 if: runner.os == 'macOS'
@@ -132,46 +132,46 @@ jobs:
132 - name: go test (Linux 386)132 - name: go test (Linux 386)
133 if: ${{ runner.os == 'Linux' && runner.arch != 'ARM64' }}133 if: ${{ runner.os == 'Linux' && runner.arch != 'ARM64' }}
134 run: |134 run: |
135- sudo apt-get update135+ sudo apt-get update
136- sudo apt-get install gcc-multilib136+ sudo apt-get install gcc-multilib
137- sudo apt-get install g++-multilib137+ sudo apt-get install g++-multilib
138- env CGO_ENABLED=0 GOARCH=386 go test -shuffle=on -v -count=10 ./...138+ env CGO_ENABLED=0 GOARCH=386 go test -shuffle=on -v -count=10 ./...
139- env CGO_ENABLED=1 GOARCH=386 go test -shuffle=on -v -count=10 ./...139+ env CGO_ENABLED=1 GOARCH=386 go test -shuffle=on -v -count=10 ./...
140 140
141 - name: go test (Linux arm)141 - name: go test (Linux arm)
142 if: ${{ runner.os == 'Linux' && runner.arch == 'ARM64' }}142 if: ${{ runner.os == 'Linux' && runner.arch == 'ARM64' }}
143 run: |143 run: |
144- sudo apt-get update144+ sudo apt-get update
145- sudo apt-get install -y gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf libc6-armhf-cross145+ sudo apt-get install -y gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf libc6-armhf-cross
146-146+
147- # Install the latest QEMU 10.x package from Debian. Ubuntu 24.04 ships QEMU 8.2147+ # Install the latest QEMU 10.x package from Debian. Ubuntu 24.04 ships QEMU 8.2
148- # which has a bug where inter-thread signal delivery (tgkill) hangs,148+ # which has a bug where inter-thread signal delivery (tgkill) hangs,
149- # causing TestSetuidEtc to deadlock.149+ # causing TestSetuidEtc to deadlock.
150- arch=$(dpkg --print-architecture)150+ arch=$(dpkg --print-architecture)
151- qemu_user_deb=$(151+ qemu_user_deb=$(
152- curl -fsSL https://ftp.debian.org/debian/pool/main/q/qemu/ |152+ curl -fsSL https://ftp.debian.org/debian/pool/main/q/qemu/ |
153- grep -Eo "qemu-user_${QEMU_MAJOR_VERSION}\.[0-9.]+\+ds-[0-9]+([+~][A-Za-z0-9.+:~-]+)*_${arch}\.deb" |153+ grep -Eo "qemu-user_${QEMU_MAJOR_VERSION}\.[0-9.]+\+ds-[0-9]+([+~][A-Za-z0-9.+:~-]+)*_${arch}\.deb" |
154- sort -V |154+ sort -V |
155- tail -n 1155+ tail -n 1
156- )156+ )
157- if [ -z "${qemu_user_deb}" ]; then157+ if [ -z "${qemu_user_deb}" ]; then
158- echo "missing qemu-user ${QEMU_MAJOR_VERSION}.x package for ${arch}" >&2158+ echo "missing qemu-user ${QEMU_MAJOR_VERSION}.x package for ${arch}" >&2
159- exit 1159+ exit 1
160- fi160+ fi
161- wget -q "https://ftp.debian.org/debian/pool/main/q/qemu/${qemu_user_deb}" -O /tmp/qemu-user.deb161+ wget -q "https://ftp.debian.org/debian/pool/main/q/qemu/${qemu_user_deb}" -O /tmp/qemu-user.deb
162- sudo dpkg --force-depends -i /tmp/qemu-user.deb162+ sudo dpkg --force-depends -i /tmp/qemu-user.deb
163- sudo apt-get -f install -y163+ sudo apt-get -f install -y
164-164+
165- # Create symlink for the dynamic linker that QEMU expects165+ # Create symlink for the dynamic linker that QEMU expects
166- sudo ln -sf /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib/ld-linux.so.3166+ sudo ln -sf /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib/ld-linux.so.3
167- go env -w CC=arm-linux-gnueabihf-gcc167+ go env -w CC=arm-linux-gnueabihf-gcc
168- go env -w CXX=arm-linux-gnueabihf-g++168+ go env -w CXX=arm-linux-gnueabihf-g++
169- env GOOS=linux GOARCH=arm CGO_ENABLED=0 go test -c -o=purego-test-nocgo .169+ env GOOS=linux GOARCH=arm CGO_ENABLED=0 go test -c -o=purego-test-nocgo .
170- env QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf qemu-arm ./purego-test-nocgo -test.shuffle=on -test.v -test.count=10170+ env QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf qemu-arm ./purego-test-nocgo -test.shuffle=on -test.v -test.count=10
171- env GOOS=linux GOARCH=arm CGO_ENABLED=1 go test -c -o=purego-test-cgo .171+ env GOOS=linux GOARCH=arm CGO_ENABLED=1 go test -c -o=purego-test-cgo .
172- env QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf qemu-arm ./purego-test-cgo -test.shuffle=on -test.v -test.count=10172+ env QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf qemu-arm ./purego-test-cgo -test.shuffle=on -test.v -test.count=10
173- go env -u CC173+ go env -u CC
174- go env -u CXX174+ go env -u CXX
175 175
176 - name: go test race (no Cgo)176 - name: go test race (no Cgo)
177 if: runner.os == 'macOS'177 if: runner.os == 'macOS'

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 102

↑↓ moveenter openesc close