Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add typings and validation workflow #257

Merged
merged 3 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/validate-action-typings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Validate action typings

on:
push:
branches: [master]
ktrz marked this conversation as resolved.
Show resolved Hide resolved
pull_request:
ktrz marked this conversation as resolved.
Show resolved Hide resolved
branches: [master]
workflow_dispatch:

jobs:
validate-typings:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- uses: typesafegithub/github-actions-typing@v1
57 changes: 57 additions & 0 deletions action-types.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
inputs:
name:
type: string
tool:
type: enum
allowed-values:
- cargo
- go
- benchmarkjs
- pytest
- googlecpp
- catch2
- julia
- jmh
- benchmarkdotnet
- benchmarkluau
- customBiggerIsBetter
- customSmallerIsBetter
output-file-path:
type: string
gh-pages-branch:
type: string
gh-repository:
type: string
benchmark-data-dir-path:
type: string
github-token:
type: string
ref:
type: string
auto-push:
type: boolean
skip-fetch-gh-pages:
type: boolean
comment-always:
type: boolean
summary-always:
type: boolean
save-data-file:
type: boolean
comment-on-alert:
type: boolean
alert-threshold:
type: string
fail-on-alert:
type: boolean
fail-threshold:
type: string
alert-comment-cc-users:
type: list
separator: ','
list-item:
type: string
external-data-json-path:
type: string
max-items-in-chart:
type: integer
Loading