mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
.github/workflows: update Go versions
This commit is contained in:
parent
367606f274
commit
65460184a2
36
.github/workflows/testlist.go
vendored
Normal file
36
.github/workflows/testlist.go
vendored
Normal 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, " "))
|
||||
}
|
2
.github/workflows/vuln.yml
vendored
2
.github/workflows/vuln.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user