chore(deps): bump org.eclipse.rdf4j:rdf4j-queryresultio-sparqlxml from 4.3.14 to 5.0.3 #88
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 (c) 2021,2024 Contributors to the Eclipse Foundation | |
# | |
# See the NOTICE file(s) distributed with this work for additional | |
# information regarding copyright ownership. | |
# | |
# This program and the accompanying materials are made available under the | |
# terms of the Apache License, Version 2.0 which is available at | |
# https://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. | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
############################################################### | |
name: Check Dependencies | |
on: | |
push: | |
branches: | |
- main | |
- 'release/*' | |
pull_request: | |
branches: | |
- main | |
- 'release/*' | |
types: | |
- opened | |
- synchronize | |
- reopened | |
workflow_dispatch: | |
jobs: | |
check-dependencies: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
dotnet-version: ['7.0'] | |
steps: | |
# Get the Code | |
- name: Checkout repository | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
with: | |
submodules: recursive | |
# Set-Up | |
- name: Setup JDK 17 | |
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: 'maven' | |
# Run Maven Deploy (on demand or if either running on main or a version tag) | |
- name: Generate Dependencies file | |
if: ${{ ( github.event.inputs.deploy_maven == 'true' || github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') ) }} | |
run: | | |
./mvnw org.eclipse.dash:license-tool-plugin:license-check -Ddash.summary=DEPENDENCIES | |
- name: Check if dependencies were changed | |
id: dependencies-changed | |
run: | | |
changed=$(git diff DEPENDENCIES) | |
if [[ -n "$changed" ]]; then | |
echo "dependencies changed" | |
echo "changed=true" >> $GITHUB_OUTPUT | |
else | |
echo "dependencies not changed" | |
echo "changed=false" >> $GITHUB_OUTPUT | |
fi | |
- name: Check for restricted dependencies | |
run: | | |
restricted=$(grep ' restricted,' DEPENDENCIES || true) | |
if [[ -n "$restricted" ]]; then | |
echo "The following dependencies are restricted: $restricted" | |
exit 1 | |
fi | |
if: steps.dependencies-changed.outputs.changed == 'true' | |
- name: Upload DEPENDENCIES file | |
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 | |
with: | |
path: DEPENDENCIES | |
if: steps.dependencies-changed.outputs.changed == 'true' | |
- name: Signal need to update DEPENDENCIES | |
run: | | |
echo "Dependencies need to be updated (updated DEPENDENCIES file has been uploaded to workflow run)" | |
exit 1 | |
if: steps.dependencies-changed.outputs.changed == 'true' |