|
| 1 | +# Licensed to the Apache Software Foundation (ASF) under one |
| 2 | +# or more contributor license agreements. See the NOTICE file |
| 3 | +# distributed with this work for additional information |
| 4 | +# regarding copyright ownership. The ASF licenses this file |
| 5 | +# to you under the Apache License, Version 2.0 (the |
| 6 | +# "License"); you may not use this file except in compliance |
| 7 | +# with the License. You may obtain a copy of the License at |
| 8 | +# |
| 9 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +# |
| 11 | +# Unless required by applicable law or agreed to in writing, |
| 12 | +# software distributed under the License is distributed on an |
| 13 | +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 14 | +# KIND, either express or implied. See the License for the |
| 15 | +# specific language governing permissions and limitations |
| 16 | +# under the License. |
| 17 | + |
| 18 | +name: API Changes |
| 19 | + |
| 20 | +concurrency: |
| 21 | + group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }} |
| 22 | + cancel-in-progress: true |
| 23 | + |
| 24 | +on: |
| 25 | + push: |
| 26 | + paths-ignore: |
| 27 | + - "docs/**" |
| 28 | + - "**.md" |
| 29 | + - ".github/ISSUE_TEMPLATE/**" |
| 30 | + - ".github/pull_request_template.md" |
| 31 | + pull_request: |
| 32 | + paths-ignore: |
| 33 | + - "docs/**" |
| 34 | + - "**.md" |
| 35 | + - ".github/ISSUE_TEMPLATE/**" |
| 36 | + - ".github/pull_request_template.md" |
| 37 | + |
| 38 | +jobs: |
| 39 | + semver-checks: |
| 40 | + runs-on: ubuntu-latest |
| 41 | + continue-on-error: true |
| 42 | + steps: |
| 43 | + - name: Checkout |
| 44 | + uses: actions/checkout@v4 |
| 45 | + - name: Setup Rust |
| 46 | + uses: actions-rust-lang/setup-rust-toolchain@v1 |
| 47 | + - name: Install semver-checks |
| 48 | + run: cargo install cargo-semver-checks --locked |
| 49 | + - name: Run semver-check datasource |
| 50 | + run: cargo semver-checks check-release -p datafusion-datasource -p datafusion-datasource-avro -p datafusion-datasource-csv -p datafusion-datasource-json -p datafusion-datasource-parquet |
| 51 | + continue-on-error: true |
| 52 | + - name: Run semver-check common |
| 53 | + run: cargo semver-checks check-release -p datafusion-common -p datafusion-common-runtime |
| 54 | + continue-on-error: true |
| 55 | + - name: Run semver-check catalog |
| 56 | + run: cargo semver-checks check-release -p datafusion-catalog -p datafusion-catalog-listing |
| 57 | + continue-on-error: true |
| 58 | + - name: Run semver-check execution |
| 59 | + run: cargo semver-checks check-release -p datafusion-execution -p datafusion-session |
| 60 | + continue-on-error: true |
| 61 | + - name: Run semver-check expr |
| 62 | + run: cargo semver-checks check-release -p datafusion-expr -p datafusion-expr-common -p datafusion-physical-expr |
| 63 | + continue-on-error: true |
| 64 | + - name : Run semver-check functions |
| 65 | + run: cargo semver-checks check-release -p datafusion-functions -p datafusion-functions-aggregate -p datafusion-functions-aggregate-common -p datafusion-functions-nested -p datafusion-functions-table -p datafusion-functions-window -p datafusion-functions-window-common |
| 66 | + continue-on-error: true |
| 67 | + - name: Run semver-check macros |
| 68 | + run: cargo semver-checks check-release -p datafusion-macros |
| 69 | + continue-on-error: true |
| 70 | + - name: Run semver-check optimizer |
| 71 | + run: cargo semver-checks check-release -p datafusion-optimizer -p datafusion-physicl-optimizer |
| 72 | + continue-on-error: true |
| 73 | + |
| 74 | + semver-checks-2: |
| 75 | + runs-on: ubuntu-latest |
| 76 | + continue-on-error: true |
| 77 | + steps: |
| 78 | + - name: Checkout |
| 79 | + uses: actions/checkout@v4 |
| 80 | + - name: Setup Rust |
| 81 | + uses: actions-rust-lang/setup-rust-toolchain@v1 |
| 82 | + - name: Install semver-checks |
| 83 | + run: cargo install cargo-semver-checks --locked |
| 84 | + - name: Run semver-check physical-plan |
| 85 | + run: cargo semver-checks check-release -p datafusion-physical-plan |
| 86 | + continue-on-error: true |
| 87 | + - name: Run semver-check proto |
| 88 | + run: cargo semver-checks check-release -p datafusion-proto -p datafusion-proto-common |
| 89 | + continue-on-error: true |
| 90 | + - name: Run semver-check substrait |
| 91 | + run: cargo semver-checks check-release -p datafusion-substrait |
| 92 | + continue-on-error: true |
| 93 | + - name: Run semver-check sql |
| 94 | + run: cargo semver-checks check-release -p datafusion-sql |
| 95 | + continue-on-error: true |
| 96 | + - name: Run semver-check spark |
| 97 | + run: cargo semver-checks check-release -p datafusion-spark |
| 98 | + continue-on-error: true |
| 99 | + - name: Run semver-check sqllogictest |
| 100 | + run: cargo semver-checks check-release -p datafusion-sqllogictest |
| 101 | + continue-on-error: true |
| 102 | + - name: Run semver-check datafusion-cli |
| 103 | + run: cargo semver-checks check-release -p datafusion-cli |
| 104 | + continue-on-error: true |
| 105 | + - name: Run semver-check datafusion |
| 106 | + run: cargo semver-checks check-release -p datafusion |
| 107 | + continue-on-error: true |
0 commit comments