mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-14 11:58:04 +00:00
a69ccfdb08
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/setup-go dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
30 lines
863 B
YAML
30 lines
863 B
YAML
name: benchmark
|
|
on:
|
|
workflow_run:
|
|
workflows: [publish-latest]
|
|
branches: [master]
|
|
types: [completed]
|
|
workflow_dispatch:
|
|
inputs:
|
|
repository:
|
|
description: "Repository to checkout. Useful for benchmarking a fork. Format should be <owner>/<repository>."
|
|
required: true
|
|
default: "TwiN/gatus"
|
|
ref:
|
|
description: "Branch, tag or SHA to checkout"
|
|
required: true
|
|
default: "master"
|
|
jobs:
|
|
build:
|
|
name: benchmark
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
steps:
|
|
- uses: actions/setup-go@v4
|
|
with:
|
|
go-version: 1.19
|
|
repository: "${{ github.event.inputs.repository || 'TwiN/gatus' }}"
|
|
ref: "${{ github.event.inputs.ref || 'master' }}"
|
|
- uses: actions/checkout@v3
|
|
- name: Benchmark
|
|
run: go test -bench=. ./storage/store
|