Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/knative-go-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# This file is automagically synced here from github.com/knative-sandbox/.github
# repo by knobots: https://github.com/mattmoor/knobots and will be overwritten.

name: Build

on:
Expand All @@ -26,7 +29,7 @@ jobs:
name: Build
strategy:
matrix:
go-version: [1.15.x]
go-version: [1.14.x]
platform: [ubuntu-latest]

runs-on: ${{ matrix.platform }}
Expand All @@ -41,6 +44,8 @@ jobs:

- name: Check out code
uses: actions/checkout@v2
with:
fetch-depth: 1

- name: Vet
run: go vet ./...
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/knative-go-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# This file is automagically synced here from github.com/knative-sandbox/.github
# repo by knobots: https://github.com/mattmoor/knobots and will be overwritten.

name: Test

on:
Expand All @@ -26,7 +29,7 @@ jobs:
name: Test
strategy:
matrix:
go-version: [1.15.x]
go-version: [1.14.x]
platform: [ubuntu-latest]

runs-on: ${{ matrix.platform }}
Expand All @@ -41,6 +44,8 @@ jobs:

- name: Check out code
uses: actions/checkout@v2
with:
fetch-depth: 1

- name: Test
run: go test -race ./...
19 changes: 18 additions & 1 deletion .github/workflows/knative-stale.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,24 @@
# Copyright 2020 The Knative 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.

# This file is automagically synced here from github.com/knative-sandbox/.github
# repo by knobots: https://github.com/mattmoor/knobots and will be overwritten.

name: 'Close stale'
on:
schedule:
- cron: '0 1 * * *' # Everyday at 1AM
- cron: '0 1 * * *'

jobs:
stale:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/knative-style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# This file is automagically synced here from github.com/knative-sandbox/.github
# repo by knobots: https://github.com/mattmoor/knobots and will be overwritten.

name: Code Style

on:
Expand All @@ -28,14 +31,16 @@ jobs:

steps:

- name: Set up Go 1.15.x
- name: Set up Go 1.14.x
uses: actions/setup-go@v2
with:
go-version: 1.15.x
go-version: 1.14.x
id: go

- name: Check out code
uses: actions/checkout@v2
with:
fetch-depth: 1

# TODO: add prettier step
# TODO: add goimports step
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/knative-verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# This file is automagically synced here from github.com/knative-sandbox/.github
# repo by knobots: https://github.com/mattmoor/knobots and will be overwritten.

name: Verify

on:
Expand All @@ -26,7 +29,7 @@ jobs:
name: Verify Deps and Codegen
strategy:
matrix:
go-version: [1.15.x]
go-version: [1.14.x]
platform: [ubuntu-latest]

runs-on: ${{ matrix.platform }}
Expand All @@ -50,6 +53,7 @@ jobs:
- name: Check out code onto GOPATH
uses: actions/checkout@v2
with:
fetch-depth: 1
path: ./src/knative.dev/${{ github.event.repository.name }}

- name: Update Codegen
Expand Down