diff --git a/.github/workflows/check-action-typing.yml b/.github/workflows/check-action-typing.yml new file mode 100644 index 00000000..d2dd928b --- /dev/null +++ b/.github/workflows/check-action-typing.yml @@ -0,0 +1,30 @@ +# Copyright 2022 Piotr Krzemiński +# +# 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: Check Action Typing + +on: + push: + pull_request: + +jobs: + check_action_typing: + name: Check Action Typing + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Check Action Typing + uses: krzema12/github-actions-typing@v0 diff --git a/action-types.yml b/action-types.yml new file mode 100644 index 00000000..2a8a10b7 --- /dev/null +++ b/action-types.yml @@ -0,0 +1,58 @@ +# Copyright 2022 Piotr Krzemiński +# +# 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. + +# See https://github.com/krzema12/github-actions-typing/ +inputs: + distribution: + type: enum + allowed-values: + - Alpine + - Debian + - kali-linux + - openSUSE-Leap-15.2 + - Ubuntu-22.04 + - Ubuntu-20.04 + - Ubuntu-18.04 + - Ubuntu-16.04 + + use-cache: + type: boolean + + wsl-conf: + type: string + + set-as-default: + type: boolean + + update: + type: boolean + + additional-packages: + type: list + separator: ' ' + list-item: + type: string + + wsl-shell-user: + type: string + + wsl-shell-command: + type: string + +outputs: + wsl-shell-wrapper-path: + type: string + + wsl-shell-distribution-wrapper-path: + type: string