detached 3980773

.github/workflows: clean up test.yml (#301)

commit
398077311e87fe4247a32396d0fb89e04e23a6c4
author
Hajime Hoshi · · 2025-03-09 05:10 UTC
committer
GitHub · · 2025-03-09 05:10 UTC
parent
1bd362f
signature
GPG UnverifiedB5690EEEBB952194 The key is unknown
2 files · +5 -8
M .github/scripts/bsd_tests.sh +2 -2
@@ -3,8 +3,8 @@
33 # SPDX-License-Identifier: Apache-2.0
44 # SPDX-FileCopyrightText: 2025 The Ebitengine Authors
55
6-# FreeBSD & NetBSD tests run within QEMU on Ubuntu.
7-# vmactions/freebsd-vm only supports a single "step" where it
6+# BSD tests run within QEMU on Ubuntu.
7+# vmactions/*-vm only supports a single "step" where it
88 # brings down the VM at the end of the step, so all
99 # the commands to run need to be put into this single block.
1010
@@ -3,8 +3,8 @@
3 # SPDX-License-Identifier: Apache-2.03 # SPDX-License-Identifier: Apache-2.0
4 # SPDX-FileCopyrightText: 2025 The Ebitengine Authors4 # SPDX-FileCopyrightText: 2025 The Ebitengine Authors
5 5
6-# FreeBSD & NetBSD tests run within QEMU on Ubuntu.6+# BSD tests run within QEMU on Ubuntu.
7-# vmactions/freebsd-vm only supports a single "step" where it7+# vmactions/*-vm only supports a single "step" where it
8 # brings down the VM at the end of the step, so all8 # brings down the VM at the end of the step, so all
9 # the commands to run need to be put into this single block.9 # the commands to run need to be put into this single block.
10 10
M .github/workflows/test.yml +3 -6
@@ -142,7 +142,7 @@ jobs:
142142 strategy:
143143 matrix:
144144 os: ['FreeBSD', 'NetBSD']
145- go: ['1.18.10', '1.19.13', '1.20.14', '1.21.13', '1.22.12', '1.23.6', '1.24.0']
145+ go: ['1.18.10', '1.19.13', '1.20.14', '1.21.13', '1.22.12', '1.23.7', '1.24.1']
146146 name: Test with Go ${{ matrix.go }} on ${{ matrix.os }}
147147 runs-on: ubuntu-22.04
148148 defaults:
@@ -150,7 +150,7 @@ jobs:
150150 shell: bash
151151 steps:
152152 - uses: actions/checkout@v4
153- - name: Run in freebsd
153+ - name: Run in FreeBSD
154154 if: matrix.os == 'FreeBSD'
155155 uses: vmactions/freebsd-vm@v1
156156 with:
@@ -158,20 +158,17 @@ jobs:
158158 prepare: |
159159 fetch https://go.dev/dl/go${{matrix.go}}.freebsd-amd64.tar.gz
160160 rm -fr /usr/local/go && tar -C /usr/local -xf go${{matrix.go}}.freebsd-amd64.tar.gz
161- ln -s /usr/local/go/bin/go /usr/local/bin
162161 chmod +x $GITHUB_WORKSPACE/.github/scripts/bsd_tests.sh
163162 run: $GITHUB_WORKSPACE/.github/scripts/bsd_tests.sh
164- - name: Run in netbsd
163+ - name: Run in NetBSD
165164 # there are no prebuilt download links for these versions of Go for NetBSD
166165 if: matrix.os == 'NetBSD' && !startsWith(matrix.go, '1.18.') && !startsWith(matrix.go, '1.19.') && !startsWith(matrix.go, '1.20.')
167166 uses: vmactions/netbsd-vm@v1
168167 with:
169168 usesh: true
170169 prepare: |
171- /usr/sbin/pkg_add -v bash
172170 ftp https://go.dev/dl/go${{matrix.go}}.netbsd-amd64.tar.gz
173171 mkdir /usr/local
174172 rm -fr /usr/local/go && tar -C /usr/local -xf go${{matrix.go}}.netbsd-amd64.tar.gz
175- ln -s /usr/local/go/bin/go /usr/local/bin
176173 chmod +x $GITHUB_WORKSPACE/.github/scripts/bsd_tests.sh
177174 run: $GITHUB_WORKSPACE/.github/scripts/bsd_tests.sh
@@ -142,7 +142,7 @@ jobs:
142 strategy:142 strategy:
143 matrix:143 matrix:
144 os: ['FreeBSD', 'NetBSD']144 os: ['FreeBSD', 'NetBSD']
145- go: ['1.18.10', '1.19.13', '1.20.14', '1.21.13', '1.22.12', '1.23.6', '1.24.0']145+ go: ['1.18.10', '1.19.13', '1.20.14', '1.21.13', '1.22.12', '1.23.7', '1.24.1']
146 name: Test with Go ${{ matrix.go }} on ${{ matrix.os }}146 name: Test with Go ${{ matrix.go }} on ${{ matrix.os }}
147 runs-on: ubuntu-22.04147 runs-on: ubuntu-22.04
148 defaults:148 defaults:
@@ -150,7 +150,7 @@ jobs:
150 shell: bash150 shell: bash
151 steps:151 steps:
152 - uses: actions/checkout@v4152 - uses: actions/checkout@v4
153- - name: Run in freebsd153+ - name: Run in FreeBSD
154 if: matrix.os == 'FreeBSD'154 if: matrix.os == 'FreeBSD'
155 uses: vmactions/freebsd-vm@v1155 uses: vmactions/freebsd-vm@v1
156 with:156 with:
@@ -158,20 +158,17 @@ jobs:
158 prepare: |158 prepare: |
159 fetch https://go.dev/dl/go${{matrix.go}}.freebsd-amd64.tar.gz159 fetch https://go.dev/dl/go${{matrix.go}}.freebsd-amd64.tar.gz
160 rm -fr /usr/local/go && tar -C /usr/local -xf go${{matrix.go}}.freebsd-amd64.tar.gz160 rm -fr /usr/local/go && tar -C /usr/local -xf go${{matrix.go}}.freebsd-amd64.tar.gz
161- ln -s /usr/local/go/bin/go /usr/local/bin
162 chmod +x $GITHUB_WORKSPACE/.github/scripts/bsd_tests.sh161 chmod +x $GITHUB_WORKSPACE/.github/scripts/bsd_tests.sh
163 run: $GITHUB_WORKSPACE/.github/scripts/bsd_tests.sh162 run: $GITHUB_WORKSPACE/.github/scripts/bsd_tests.sh
164- - name: Run in netbsd163+ - name: Run in NetBSD
165 # there are no prebuilt download links for these versions of Go for NetBSD164 # there are no prebuilt download links for these versions of Go for NetBSD
166 if: matrix.os == 'NetBSD' && !startsWith(matrix.go, '1.18.') && !startsWith(matrix.go, '1.19.') && !startsWith(matrix.go, '1.20.')165 if: matrix.os == 'NetBSD' && !startsWith(matrix.go, '1.18.') && !startsWith(matrix.go, '1.19.') && !startsWith(matrix.go, '1.20.')
167 uses: vmactions/netbsd-vm@v1166 uses: vmactions/netbsd-vm@v1
168 with:167 with:
169 usesh: true168 usesh: true
170 prepare: |169 prepare: |
171- /usr/sbin/pkg_add -v bash
172 ftp https://go.dev/dl/go${{matrix.go}}.netbsd-amd64.tar.gz170 ftp https://go.dev/dl/go${{matrix.go}}.netbsd-amd64.tar.gz
173 mkdir /usr/local171 mkdir /usr/local
174 rm -fr /usr/local/go && tar -C /usr/local -xf go${{matrix.go}}.netbsd-amd64.tar.gz172 rm -fr /usr/local/go && tar -C /usr/local -xf go${{matrix.go}}.netbsd-amd64.tar.gz
175- ln -s /usr/local/go/bin/go /usr/local/bin
176 chmod +x $GITHUB_WORKSPACE/.github/scripts/bsd_tests.sh173 chmod +x $GITHUB_WORKSPACE/.github/scripts/bsd_tests.sh
177 run: $GITHUB_WORKSPACE/.github/scripts/bsd_tests.sh174 run: $GITHUB_WORKSPACE/.github/scripts/bsd_tests.sh

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