fix: sequence updates subscription where possible, instead of recreating it #5840
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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. | |
name: Downstream | |
on: | |
pull_request: | |
branches: [ 'main', 'master' ] | |
jobs: | |
downstream-knative: | |
name: Unit Test | |
strategy: | |
fail-fast: false # Keep running if one leg fails. | |
matrix: | |
include: | |
- repo: eventing-autoscaler-keda | |
org: knative-extensions | |
- repo: eventing-ceph | |
org: knative-extensions | |
- repo: eventing-github | |
org: knative-extensions | |
- repo: eventing-gitlab | |
org: knative-extensions | |
- repo: eventing-kafka-broker | |
org: knative-extensions | |
- repo: eventing-rabbitmq | |
org: knative-extensions | |
runs-on: ubuntu-latest | |
env: | |
GOPATH: ${{ github.workspace }} | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.21.x | |
- name: Install Dependencies | |
run: | | |
go install github.com/google/go-licenses@latest | |
- name: Checkout Upstream | |
uses: actions/checkout@v2 | |
with: | |
path: ./src/knative.dev/${{ github.event.repository.name }} | |
- name: Checkout Downstream | |
uses: actions/checkout@v2 | |
with: | |
repository: ${{ matrix.org }}/${{ matrix.repo }} | |
path: ./src/knative.dev/${{ matrix.repo }} | |
- name: Test downstream | |
uses: knative/actions/go/downstream-test@main | |
with: | |
upstream-path: ./src/knative.dev/${{ github.event.repository.name }} | |
downstream-path: ./src/knative.dev/${{ matrix.repo }} | |