Skip to content

Add option to copy the text from the homework details page #3279

Add option to copy the text from the homework details page

Add option to copy the text from the homework details page #3279

Workflow file for this run

# Copyright (c) 2022 Sharezone UG (haftungsbeschränkt)
# Licensed under the EUPL-1.2-or-later.
#
# You may obtain a copy of the Licence at:
# https://joinup.ec.europa.eu/software/page/eupl
#
# SPDX-License-Identifier: EUPL-1.2
name: licence-ci
# Controls when the action will run.
on:
merge_group:
types:
- checks_requested
# Triggers the workflow on pull request events
pull_request:
types:
- opened
- synchronize
# Set permissions to none.
#
# Using the broad default permissions is considered a bad security practice
# and would cause alerts from our scanning tools.
permissions: {}
jobs:
check-files-licence-headers:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
with:
go-version: "^1.13.1"
- run: go install github.com/google/addlicense@v1.1.1
- run: ./bin/check_license_headers.sh
check-dependency-licenses:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- name: Set Flutter version from FVM config file to environment variables
id: fvm-config-action
uses: kuhnroyal/flutter-fvm-config-action@34c3905bc939a4ff9d9cb07d5a977493fa73b2aa
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
with:
flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
channel: ${{ steps.fvm-config-action.outputs.FLUTTER_CHANNEL }}
- name: Activate license_checker
run: dart pub global activate license_checker 1.6.0
- name: Check licenses in app
run: |
cd app
flutter pub get
lic_ck check-licenses --config ../licenses_config.yaml --problematic
- name: Check licenses in sz cli
run: |
cd tools/sz_repo_cli
dart pub get
lic_ck check-licenses --config ../../licenses_config.yaml --problematic
- name: Check licenses in website
run: |
cd website
flutter pub get
lic_ck check-licenses --config ../licenses_config.yaml --problematic