Skip to content

Prevent client app deadlock when challenge can't be acquired #18

Prevent client app deadlock when challenge can't be acquired

Prevent client app deadlock when challenge can't be acquired #18

Workflow file for this run

#
# If not stated otherwise in this file or this component's LICENSE file the
# following copyright and licenses apply:
#
# Copyright 2024 Sky UK
#
# 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: Licence Notice Check
on:
pull_request:
branches: [ "master", "rdkcentral:master" ]
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
path: rialto-ocdm
- name: Check out test scripts from rialto
uses: actions/checkout@v4
with:
repository: rdkcentral/rialto
path: ./rialto
sparse-checkout: |
scripts/license.py
scripts/license.sh
# Setup github for python 3.8
- name: setup python
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install Dependencies
run: |
sudo apt-get update
- name: Scan source files
run: |
cd rialto-ocdm
../rialto/scripts/license.sh ../rialto/scripts/license.py Apache_2_0
if [ $? -ne 0 ]
then
echo "The above files have an incorrect format or licence"
exit 1
fi