Skip to content

Commit

Permalink
Add action typing declaration
Browse files Browse the repository at this point in the history
Co-authored-by: Björn Kautler <Bjoern@Kautler.net>
  • Loading branch information
krzema12 and Vampire committed Jun 30, 2022
1 parent 37e79dc commit af60221
Show file tree
Hide file tree
Showing 2 changed files with 88 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/check-action-typing.yml
Original file line number Diff line number Diff line change
@@ -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
58 changes: 58 additions & 0 deletions action-types.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit af60221

Please sign in to comment.