Skip to content

Commit

Permalink
Add benchmark job
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed Aug 26, 2023
1 parent e061235 commit 6cc77a3
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
pull_request:

jobs:
job-test:
test:
name: Test
runs-on: ubuntu-latest
env:
Expand All @@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version-file: go.mod

Expand All @@ -29,3 +29,19 @@ jobs:

- name: Run octocov
uses: k1LoW/octocov-action@v0
benchmark:
name: Benchmark
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Check out source code
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod

- name: Run benchmark
run: make benchmark

0 comments on commit 6cc77a3

Please sign in to comment.