Update go.yml
This commit is contained in:
parent
85a7ff173b
commit
a427d9270a
24
.github/workflows/go.yml
vendored
24
.github/workflows/go.yml
vendored
@ -7,13 +7,13 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
linux_amd64_build:
|
linux_amd64_build:
|
||||||
name: Linux amd64 build
|
name: Linux amd64 build
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
# runs-on: self-hosted
|
# runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Go 1.19
|
- name: Set up Go 1.20
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: 1.20
|
||||||
id: go
|
id: go
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -29,13 +29,13 @@ jobs:
|
|||||||
|
|
||||||
linux_arm64_build:
|
linux_arm64_build:
|
||||||
name: Linux arm64 build
|
name: Linux arm64 build
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
# runs-on: self-hosted
|
# runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Go 1.19
|
- name: Set up Go 1.20
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: 1.20
|
||||||
id: go
|
id: go
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -51,12 +51,12 @@ jobs:
|
|||||||
|
|
||||||
# darwin_amd64_build:
|
# darwin_amd64_build:
|
||||||
# name: Darwin amd64 build
|
# name: Darwin amd64 build
|
||||||
# runs-on: ubuntu-20.04
|
# runs-on: ubuntu-latest
|
||||||
# steps:
|
# steps:
|
||||||
# - name: Set up Go 1.19
|
# - name: Set up Go 1.20
|
||||||
# uses: actions/setup-go@v2
|
# uses: actions/setup-go@v2
|
||||||
# with:
|
# with:
|
||||||
# go-version: 1.19
|
# go-version: 1.20
|
||||||
# id: go
|
# id: go
|
||||||
# - name: Check out code into the Go module directory
|
# - name: Check out code into the Go module directory
|
||||||
# uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
@ -72,12 +72,12 @@ jobs:
|
|||||||
|
|
||||||
windows_x64_build:
|
windows_x64_build:
|
||||||
name: Windows x64 build
|
name: Windows x64 build
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Go 1.19
|
- name: Set up Go 1.20
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: 1.20
|
||||||
id: go
|
id: go
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user