- Kotlin 99.8%
- Dockerfile 0.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | io.kotest | `6.2.4` → `6.2.5` |  |  | | [io.kotest:kotest-bom](https://redirect.github.com/kotest/kotest) | `6.2.4` → `6.2.5` |  |  | --- ### Release Notes <details> <summary>kotest/kotest (io.kotest:kotest-bom)</summary> ### [`v6.2.5`](https://redirect.github.com/kotest/kotest/releases/tag/v6.2.5) [Compare Source](https://redirect.github.com/kotest/kotest/compare/6.2.4...6.2.5) ##### What's Changed - skill version update PR upon release by [@​alfonsoristorato](https://redirect.github.com/alfonsoristorato) in [#​6213](https://redirect.github.com/kotest/kotest/pull/6213) - use a singleton strategy for getConfigurationFactory of Kotest legacy producers + ensure the same config is reused for gradle producers by [@​alfonsoristorato](https://redirect.github.com/alfonsoristorato) in [#​6216](https://redirect.github.com/kotest/kotest/pull/6216) - Use `withEdtSafeAnalysis` to improve safe analysis for spec and style… by [@​sksamuel](https://redirect.github.com/sksamuel) in [#​6215](https://redirect.github.com/kotest/kotest/pull/6215) - Make the `shouldBeSingleton` block overloads infix by [@​sksamuel](https://redirect.github.com/sksamuel) in [#​6223](https://redirect.github.com/kotest/kotest/pull/6223) - Bound the short/byte/uShort/uByte shrinkers by the generator range by [@​sksamuel](https://redirect.github.com/sksamuel) in [#​6224](https://redirect.github.com/kotest/kotest/pull/6224) - Alex/make default extension registry thread safe by [@​AlexCue987](https://redirect.github.com/AlexCue987) in [#​6199](https://redirect.github.com/kotest/kotest/pull/6199) - add back jsoup assertions by [@​alfonsoristorato](https://redirect.github.com/alfonsoristorato) in [#​6226](https://redirect.github.com/kotest/kotest/pull/6226) - Fix Android StackWalker compatibility by [@​cfcromn](https://redirect.github.com/cfcromn) in [#​6222](https://redirect.github.com/kotest/kotest/pull/6222) **Full Changelog**: <https://github.com/kotest/kotest/compare/6.2.4...v6.2.5> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - "every 1 week on saturday" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/typesafegithub/github-actions-typing). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMDMuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjEwMy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
| .github | ||
| docs | ||
| gradle | ||
| kotlin-js-store | ||
| src | ||
| .gitattributes | ||
| .gitignore | ||
| action-types.yml | ||
| action.yaml | ||
| build.gradle.kts | ||
| Dockerfile | ||
| github-actions-typing.schema.json | ||
| gradlew | ||
| gradlew.bat | ||
| LICENSE | ||
| README.md | ||
| renovate.json | ||
| settings.gradle.kts | ||
GitHub Actions typing
Bring type-safety to your GitHub actions' API!
This is a GitHub action that validates your action's type specs (action-types.y(a)ml) and ensures the inputs and
outputs have types set according to a certain specification.
It aims to be a standardized way to present your actions' API, both to human users and any kind of automation (e. g. generating action bindings for this Kotlin DSL).
Similar to typings for TypeScript or type hints for Python.
Typings for all inputs and outputs have to be specified.
It supports YAML anchors and aliases to reduce duplication.
To see which actions already provide typings using this schema, click here.
Example
Let's say your action has such manifest (action.yml):
name: My cool action
description: Just to showcase GitHub Actions typing
inputs:
verbose:
description: 'Set to true to display debug information helpful when troubleshooting issues with this action.'
required: false
default: 'false'
log-level:
description: 'Specify the level of details for logging.'
required: true
permissions:
description: 'Who should have access.'
runs:
using: 'node16'
image: 'dist/main.js'
and such action-types.yml next to it:
inputs:
verbose:
type: boolean
permissions:
type: inttteger
This action, once used within a workflow, will fail the workflow run and produce such output:
Usage
Create a new file in your action repo's root directory: action-types.yml, then specify types for your
action's inputs and outputs. See "Available types" section below.
Finally, create a workflow in your actions' repository that will simply call this action to validate the types:
name: Validate action typings
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
validate-typings:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- uses: typesafegithub/github-actions-typing@v2
Available types
String
A text value.
Example:
...
inputs:
name:
type: string
...
Boolean
Can be true or false.
Example:
...
inputs:
verbose:
type: boolean
...
Integer
A number without a fractional component.
Example:
...
inputs:
retries:
type: integer
...
In case of "magic values" meaning something else that the user would expect, you can specify them like so:
...
inputs:
fetch-depth:
type: integer
named-values:
infinite: 0
...
You can also optionally define name which is a hint for code generators what name can be used as class name.
...
inputs:
fetch-depth:
type: integer
name: Amount
named-values:
infinite: 0
...
Float
A number with a fractional component.
Example:
...
inputs:
threshold:
type: float
...
List
A sequence of values.
Because string is used as a data type for passing inputs to actions, a separator string has to be specified as well. This is usually a new line or a comma.
Lists can contain values of any primitive or enum type.
If your list items are in separate line each, use "\n" as separator.
Examples:
...
inputs:
input-files:
type: list
separator: ','
list-item:
type: string
...
...
inputs:
granted-scopes:
type: list
separator: ','
list-item:
type: enum
allowed-values:
- read
- write
...
Enum
Multiple possible values.
You can also optionally define name which is a hint for code generators what name can be used as enum type name.
Example:
...
inputs:
permissions:
type: enum
allowed-values:
- user
- admin
- guest
if_mention:
type: enum
name: MentionStatus
allowed-values:
- success
- failure
...
