mirror of https://github.com/knative/func.git
Update Go in actions to 1.18 (#1247)
* Update Go in actions to 1.18 * Update golangci binary
This commit is contained in:
parent
c2c45d1194
commit
794865fcc5
|
@ -7,7 +7,7 @@ jobs:
|
|||
name: Build
|
||||
strategy:
|
||||
matrix:
|
||||
go: [1.17.x]
|
||||
go: [1.18.x]
|
||||
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
|
|
|
@ -7,7 +7,7 @@ jobs:
|
|||
name: Check Source
|
||||
strategy:
|
||||
matrix:
|
||||
go: [1.17.x]
|
||||
go: [1.18.x]
|
||||
os: ["ubuntu-latest"]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
|
|
|
@ -11,7 +11,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: "1.17"
|
||||
go-version: "1.18"
|
||||
- uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: '11'
|
||||
|
@ -33,7 +33,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: "1.17"
|
||||
go-version: "1.18"
|
||||
# Standard build tasks
|
||||
- name: Build
|
||||
run: make cross-platform
|
||||
|
|
|
@ -7,7 +7,7 @@ jobs:
|
|||
name: Check Schema
|
||||
strategy:
|
||||
matrix:
|
||||
go: [1.17.x]
|
||||
go: [1.18.x]
|
||||
os: ["ubuntu-latest"]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
|
|
|
@ -7,7 +7,7 @@ jobs:
|
|||
name: On Cluster RT Test
|
||||
strategy:
|
||||
matrix:
|
||||
go: [1.17.x]
|
||||
go: [1.18.x]
|
||||
os: ["ubuntu-latest"]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
|
|
|
@ -7,7 +7,7 @@ jobs:
|
|||
name: On Cluster Test
|
||||
strategy:
|
||||
matrix:
|
||||
go: [1.17.x]
|
||||
go: [1.18.x]
|
||||
os: ["ubuntu-latest"]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
|
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.17.x
|
||||
go-version: 1.18.x
|
||||
- name: Install Binaries
|
||||
run: ./hack/binaries.sh
|
||||
- name: Allocate Cluster
|
||||
|
|
|
@ -7,7 +7,7 @@ jobs:
|
|||
name: E2E Test
|
||||
strategy:
|
||||
matrix:
|
||||
go: [1.17.x]
|
||||
go: [1.18.x]
|
||||
os: ["ubuntu-latest"]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
|
|
|
@ -7,7 +7,7 @@ jobs:
|
|||
name: Func Embedded FS Test
|
||||
strategy:
|
||||
matrix:
|
||||
go: [1.17.x]
|
||||
go: [1.18.x]
|
||||
os: ["ubuntu-latest"]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
|
|
|
@ -7,7 +7,7 @@ jobs:
|
|||
name: Integration Test
|
||||
strategy:
|
||||
matrix:
|
||||
go: [1.17.x]
|
||||
go: [1.18.x]
|
||||
os: ["ubuntu-latest"]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
|
|
|
@ -7,7 +7,7 @@ jobs:
|
|||
name: Podman Test
|
||||
strategy:
|
||||
matrix:
|
||||
go: [1.17.x]
|
||||
go: [1.18.x]
|
||||
os: ["ubuntu-latest"]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
|
|
|
@ -7,7 +7,7 @@ jobs:
|
|||
name: Unit Test
|
||||
strategy:
|
||||
matrix:
|
||||
go: [1.17.x]
|
||||
go: [1.18.x]
|
||||
java: [11]
|
||||
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
|
2
Makefile
2
Makefile
|
@ -62,7 +62,7 @@ check: bin/golangci-lint ## Check code quality (lint)
|
|||
cd test/_e2e && ../../bin/golangci-lint run --timeout 300s
|
||||
|
||||
bin/golangci-lint:
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ./bin v1.43.0
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ./bin v1.49.0
|
||||
|
||||
.PHONY: clean_templates
|
||||
|
||||
|
|
Loading…
Reference in New Issue