workflow: update golang version to 1.19

Upgrade golang to 1.19.3, and delete matrix, since this repo
doesn't need so many checks.

Signed-off-by: bin liu <bin@hyper.sh>
This commit is contained in:
bin liu 2022-11-30 19:37:46 +08:00
parent 6f46be3f2e
commit cc50f491c5

View File

@ -2,11 +2,7 @@ on: ["pull_request"]
name: Static checks name: Static checks
jobs: jobs:
test: test:
strategy: runs-on: ubuntu-latest
matrix:
go-version: [1.13.x, 1.14.x, 1.15.x]
os: [ubuntu-18.04]
runs-on: ${{ matrix.os }}
env: env:
GO111MODULE: off GO111MODULE: off
TRAVIS: "true" TRAVIS: "true"
@ -17,7 +13,7 @@ jobs:
- name: Install Go - name: Install Go
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: ${{ matrix.go-version }} go-version: 1.19.3
- name: Setup GOPATH - name: Setup GOPATH
run: | run: |
gopath_org=$(go env GOPATH)/src/github.com/kata-containers/ gopath_org=$(go env GOPATH)/src/github.com/kata-containers/