Skip to content

Commit 9c9d03a

Browse files
authored
Add typings and validation workflow (#257)
1 parent fe4e90e commit 9c9d03a

File tree

2 files changed

+72
-0
lines changed

2 files changed

+72
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Validate action typings
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
workflow_dispatch:
9+
10+
jobs:
11+
validate-typings:
12+
runs-on: "ubuntu-latest"
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: typesafegithub/github-actions-typing@v1

action-types.yml

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
inputs:
2+
name:
3+
type: string
4+
tool:
5+
type: enum
6+
allowed-values:
7+
- cargo
8+
- go
9+
- benchmarkjs
10+
- pytest
11+
- googlecpp
12+
- catch2
13+
- julia
14+
- jmh
15+
- benchmarkdotnet
16+
- benchmarkluau
17+
- customBiggerIsBetter
18+
- customSmallerIsBetter
19+
output-file-path:
20+
type: string
21+
gh-pages-branch:
22+
type: string
23+
gh-repository:
24+
type: string
25+
benchmark-data-dir-path:
26+
type: string
27+
github-token:
28+
type: string
29+
ref:
30+
type: string
31+
auto-push:
32+
type: boolean
33+
skip-fetch-gh-pages:
34+
type: boolean
35+
comment-always:
36+
type: boolean
37+
summary-always:
38+
type: boolean
39+
save-data-file:
40+
type: boolean
41+
comment-on-alert:
42+
type: boolean
43+
alert-threshold:
44+
type: string
45+
fail-on-alert:
46+
type: boolean
47+
fail-threshold:
48+
type: string
49+
alert-comment-cc-users:
50+
type: list
51+
separator: ','
52+
list-item:
53+
type: string
54+
external-data-json-path:
55+
type: string
56+
max-items-in-chart:
57+
type: integer

0 commit comments

Comments
 (0)