diff --git a/.github/workflows/knative-go-build.yaml b/.github/workflows/knative-go-build.yaml index 81b9b0084e9..a7cfe589dbe 100644 --- a/.github/workflows/knative-go-build.yaml +++ b/.github/workflows/knative-go-build.yaml @@ -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: @@ -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 }} @@ -41,6 +44,8 @@ jobs: - name: Check out code uses: actions/checkout@v2 + with: + fetch-depth: 1 - name: Vet run: go vet ./... diff --git a/.github/workflows/knative-go-test.yaml b/.github/workflows/knative-go-test.yaml index 53985abd7c8..675f15d4d3c 100644 --- a/.github/workflows/knative-go-test.yaml +++ b/.github/workflows/knative-go-test.yaml @@ -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: @@ -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 }} @@ -41,6 +44,8 @@ jobs: - name: Check out code uses: actions/checkout@v2 + with: + fetch-depth: 1 - name: Test run: go test -race ./... diff --git a/.github/workflows/knative-stale.yaml b/.github/workflows/knative-stale.yaml index 795eadf33c7..3c13bf9a313 100644 --- a/.github/workflows/knative-stale.yaml +++ b/.github/workflows/knative-stale.yaml @@ -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: diff --git a/.github/workflows/knative-style.yaml b/.github/workflows/knative-style.yaml index e6dca76c3db..935973613a8 100644 --- a/.github/workflows/knative-style.yaml +++ b/.github/workflows/knative-style.yaml @@ -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: @@ -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 diff --git a/.github/workflows/knative-verify.yaml b/.github/workflows/knative-verify.yaml index 6128969f3c8..d90641152c8 100644 --- a/.github/workflows/knative-verify.yaml +++ b/.github/workflows/knative-verify.yaml @@ -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: @@ -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 }} @@ -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