mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-18 04:31:59 +01:00
ci: Run benchmark on every new latest image
This commit is contained in:
parent
a29cf158dd
commit
26611b7793
8
.github/workflows/benchmark.yml
vendored
8
.github/workflows/benchmark.yml
vendored
@ -1,5 +1,9 @@
|
|||||||
name: benchmark
|
name: benchmark
|
||||||
on:
|
on:
|
||||||
|
workflow_run:
|
||||||
|
workflows: [publish-latest]
|
||||||
|
branches: [master]
|
||||||
|
types: [completed]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
repository:
|
repository:
|
||||||
@ -19,8 +23,8 @@ jobs:
|
|||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: 1.19
|
||||||
repository: "${{ github.event.inputs.repository }}"
|
repository: ${{ github.event.inputs.repository || "TwiN/gatus" }}
|
||||||
ref: "${{ github.event.inputs.ref }}"
|
ref: ${{ github.event.inputs.ref || "master" }}
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Benchmark
|
- name: Benchmark
|
||||||
run: go test -bench=. ./storage/store
|
run: go test -bench=. ./storage/store
|
||||||
|
Loading…
Reference in New Issue
Block a user