detached 80868e8

.githug/workflows: simplify test.yml (#36)

* A build tag `example` is not used anywhre.
* Building with GOOO=darwin and GOARCH=arm64 are duplicated.

In the ideal world, we should run the binary with ARM64 for macOS.
commit
80868e82e2d36a474bb699619c61ae518294cb20
author
Hajime Hoshi · · 2022-09-07 13:53 UTC
committer
GitHub · · 2022-09-07 13:53 UTC
parent
cf3e27c
signature
GPG Unverified4AEE18F83AFDEB23 The key is unknown
1 file · +1 -5
M .github/workflows/test.yml +1 -5
@@ -55,10 +55,6 @@ jobs:
5555 run: |
5656 # Check cross-compiling Windows binaries.
5757 env GOOS=windows GOARCH=arm64 go build -v ./...
58-
59- # Check cross-compiling macOS binaries.
60- env GOOS=darwin GOARCH=amd64 go build -tags=example -v ./...
61- env GOOS=darwin GOARCH=arm64 go build -tags=example -v ./...
6258
6359 - name: go mod vendor
6460 run: |
@@ -77,4 +73,4 @@ jobs:
7773
7874 - name: go test
7975 run: |
80- go test -tags=example ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') && '-shuffle=on' || '' }} -v -count=10 ./...
76+ go test ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') && '-shuffle=on' || '' }} -v -count=10 ./...
@@ -55,10 +55,6 @@ jobs:
55 run: |55 run: |
56 # Check cross-compiling Windows binaries.56 # Check cross-compiling Windows binaries.
57 env GOOS=windows GOARCH=arm64 go build -v ./...57 env GOOS=windows GOARCH=arm64 go build -v ./...
58-
59- # Check cross-compiling macOS binaries.
60- env GOOS=darwin GOARCH=amd64 go build -tags=example -v ./...
61- env GOOS=darwin GOARCH=arm64 go build -tags=example -v ./...
62 58
63 - name: go mod vendor59 - name: go mod vendor
64 run: |60 run: |
@@ -77,4 +73,4 @@ jobs:
77 73
78 - name: go test74 - name: go test
79 run: |75 run: |
80- go test -tags=example ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') && '-shuffle=on' || '' }} -v -count=10 ./...76+ go test ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') && '-shuffle=on' || '' }} -v -count=10 ./...

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