Skip to content

Commit

Permalink
Add GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
VioletHynes committed Jun 18, 2024
1 parent 28c2e94 commit f437f38
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/hack-week-benchmark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Bench
on: [push, pull_request]
jobs:
test:
name: Bench
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
cache: false # save cache space for vault builds: https://github.com/hashicorp/vault/pull/21764
go-version-file: .go-version

- name: Check out code into the Go module directory
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29@v1

- name: Install cob
run: curl -sfL https://raw.githubusercontent.com/knqyf263/cob/master/install.sh | sudo sh -s -- -b /usr/local/bin

- name: Run Benchmark
run: cob

0 comments on commit f437f38

Please sign in to comment.