.github/workflows: update Go versions

This commit is contained in:
Hajime Hoshi 2023-03-09 17:22:30 +09:00
parent 367606f274
commit 65460184a2
2 changed files with 37 additions and 1 deletions

36
.github/workflows/testlist.go vendored Normal file
View File

@ -0,0 +1,36 @@
// Copyright 2023 The Ebiten Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//go:build ignore
package main
import (
"fmt"
"runtime"
"strings"
)
func main() {
if runtime.GOOS != "linux" {
fmt.Print("./...")
return
}
// On Linux, `./...` might not work due to some process tests (#2571).
// List each directory instead?
var dirs []string
fmt.Print(strings.Join(dirs, " "))
}

View File

@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go: ['1.19.6', '1.20.1']
go: ['1.19.7', '1.20.2']
name: Vulnerability Check with Go ${{ matrix.go }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
env: