Bump futureware-tech/simulator-action from bde6805eedaeaba7775a9959970edc7d8bf10c4d to 9150831bad21ed25e472017a746f49ccbd0e674a #3941
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) 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@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 | |
with: | |
go-version: "^1.13.1" | |
- run: go install github.com/google/[email protected] | |
- run: ./bin/check_license_headers.sh | |
check-dependency-licenses: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Set Flutter version from FVM config file to environment variables | |
id: fvm-config-action | |
uses: kuhnroyal/flutter-fvm-config-action@60c14af316b09f8819202d845391260cf3b979c9 | |
- uses: subosito/flutter-action@74af56c5ed2697ba4621264652728e8d217e53d3 | |
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 | |
run: | | |
flutter pub get | |
lic_ck check-licenses --config licenses_config.yaml --problematic |