detached 1865347

.github/workflows: drop Go 1.15 from the supported environments (#44)

Updates #43
commit
18653476e1b647930d9b3bf1d26403c2f1e3b868
author
Hajime Hoshi · · 2022-09-13 15:05 UTC
committer
GitHub · · 2022-09-13 15:05 UTC
parent
b26478a
signature
GPG Unverified4AEE18F83AFDEB23 The key is unknown
2 files · +5 -11
M .github/workflows/test.yml +4 -10
@@ -7,7 +7,7 @@ jobs:
77 strategy:
88 matrix:
99 os: [ubuntu-latest, macos-latest, windows-latest]
10- go: ['1.15.x', '1.16.x', '1.17.x', '1.18.x', '1.19.x']
10+ go: ['1.16.x', '1.17.x', '1.18.x', '1.19.x']
1111 name: Test with Go ${{ matrix.go }} on ${{ matrix.os }}
1212 runs-on: ${{ matrix.os }}
1313 defaults:
@@ -48,21 +48,15 @@ jobs:
4848
4949 # Check cross-compiling macOS binaries.
5050 env GOOS=darwin GOARCH=amd64 go build -v ./...
51+ env GOOS=darwin GOARCH=arm64 go build -v ./...
5152
5253 - name: go build (Windows, ARM64)
5354 # Go 1.16 and older don't support the pair GOOS=windows and GOARCH=arm64.
54- if: ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') }}
55+ if: ${{ !startsWith(matrix.go, '1.16.') }}
5556 run: |
5657 # Check cross-compiling Windows binaries.
5758 env GOOS=windows GOARCH=arm64 go build -v ./...
5859
59- - name: go build (macOS, ARM64)
60- # Purego doesn't support the pair GOOS=darwin and GOARCH=arm64 with Go 1.15 so far (#37).
61- if: ${{ !startsWith(matrix.go, '1.15.') }}
62- run: |
63- # Check cross-compiling macOS binaries.
64- env GOOS=darwin GOARCH=arm64 go build -v ./...
65-
6660 - name: go mod vendor
6761 if: ${{ !startsWith(matrix.os, 'ubuntu-') }}
6862 run: |
@@ -81,4 +75,4 @@ jobs:
8175
8276 - name: go test
8377 run: |
84- go test ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') && '-shuffle=on' || '' }} -v -count=10 ./...
78+ go test ${{ !startsWith(matrix.go, '1.16.') && '-shuffle=on' || '' }} -v -count=10 ./...
@@ -7,7 +7,7 @@ jobs:
7 strategy:7 strategy:
8 matrix:8 matrix:
9 os: [ubuntu-latest, macos-latest, windows-latest]9 os: [ubuntu-latest, macos-latest, windows-latest]
10- go: ['1.15.x', '1.16.x', '1.17.x', '1.18.x', '1.19.x']10+ go: ['1.16.x', '1.17.x', '1.18.x', '1.19.x']
11 name: Test with Go ${{ matrix.go }} on ${{ matrix.os }}11 name: Test with Go ${{ matrix.go }} on ${{ matrix.os }}
12 runs-on: ${{ matrix.os }}12 runs-on: ${{ matrix.os }}
13 defaults:13 defaults:
@@ -48,21 +48,15 @@ jobs:
48 48
49 # Check cross-compiling macOS binaries.49 # Check cross-compiling macOS binaries.
50 env GOOS=darwin GOARCH=amd64 go build -v ./...50 env GOOS=darwin GOARCH=amd64 go build -v ./...
51+ env GOOS=darwin GOARCH=arm64 go build -v ./...
51 52
52 - name: go build (Windows, ARM64)53 - name: go build (Windows, ARM64)
53 # Go 1.16 and older don't support the pair GOOS=windows and GOARCH=arm64.54 # Go 1.16 and older don't support the pair GOOS=windows and GOARCH=arm64.
54- if: ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') }}55+ if: ${{ !startsWith(matrix.go, '1.16.') }}
55 run: |56 run: |
56 # Check cross-compiling Windows binaries.57 # Check cross-compiling Windows binaries.
57 env GOOS=windows GOARCH=arm64 go build -v ./...58 env GOOS=windows GOARCH=arm64 go build -v ./...
58 59
59- - name: go build (macOS, ARM64)
60- # Purego doesn't support the pair GOOS=darwin and GOARCH=arm64 with Go 1.15 so far (#37).
61- if: ${{ !startsWith(matrix.go, '1.15.') }}
62- run: |
63- # Check cross-compiling macOS binaries.
64- env GOOS=darwin GOARCH=arm64 go build -v ./...
65-
66 - name: go mod vendor60 - name: go mod vendor
67 if: ${{ !startsWith(matrix.os, 'ubuntu-') }}61 if: ${{ !startsWith(matrix.os, 'ubuntu-') }}
68 run: |62 run: |
@@ -81,4 +75,4 @@ jobs:
81 75
82 - name: go test76 - name: go test
83 run: |77 run: |
84- go test ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') && '-shuffle=on' || '' }} -v -count=10 ./...78+ go test ${{ !startsWith(matrix.go, '1.16.') && '-shuffle=on' || '' }} -v -count=10 ./...
M go.mod +1 -1
@@ -1,3 +1,3 @@
11 module github.com/ebitengine/purego
22
3-go 1.15
3+go 1.16
@@ -1,3 +1,3 @@
1 module github.com/ebitengine/purego1 module github.com/ebitengine/purego
2 2
3-go 1.153+go 1.16

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