Skip to content

Commit

Permalink
Add typings and validation workflow (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
krzema12 authored Sep 9, 2024
1 parent fe4e90e commit 9c9d03a
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
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]
pull_request:
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

0 comments on commit 9c9d03a

Please sign in to comment.