diff --git a/README.md b/README.md index ac0cf9b..1d96c11 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ This workflow will run the benchmarks found in the `tests/` folder and upload th It will be triggered on every push to the `main` branch and on every pull request. ```yaml -name: codspeed-benchmarks +name: CodSpeed on: push: @@ -66,6 +66,7 @@ on: jobs: benchmarks: + name: Run benchmarks runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -90,7 +91,7 @@ This workflow will run the benchmarks found in the `tests/` folder and upload th It will be triggered on every push to the `main` branch and on every pull request. ```yml -name: codspeed-benchmarks +name: CodSpeed on: push: @@ -102,6 +103,7 @@ on: workflow_dispatch: jobs: + name: Run benchmarks benchmarks: runs-on: ubuntu-latest steps: @@ -131,7 +133,7 @@ This workflow will run the benchmarks defined with `vitest`'s `bench` function a It will be triggered on every push to the `main` branch and on every pull request. ```yml -name: codspeed-benchmarks +name: CodSpeed on: push: @@ -144,12 +146,16 @@ on: jobs: benchmarks: + name: Run benchmarks runs-on: ubuntu-latest steps: - - uses: "actions/checkout@v4" - - uses: "actions/setup-node@v3" + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v3 + - name: Install dependencies run: npm install + - name: Run benchmarks uses: CodSpeedHQ/action@v3 with: diff --git a/examples/nodejs-typescript-codspeed.yml b/examples/nodejs-typescript-codspeed.yml index b5af090..1dac24d 100644 --- a/examples/nodejs-typescript-codspeed.yml +++ b/examples/nodejs-typescript-codspeed.yml @@ -1,4 +1,4 @@ -name: codspeed-benchmarks +name: CodSpeed on: push: @@ -10,13 +10,17 @@ on: workflow_dispatch: jobs: - benchmarks: + name: Run benchmarks + codspeed: runs-on: ubuntu-latest steps: - - uses: "actions/checkout@v4" - - uses: "actions/setup-node@v3" + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v3 + - name: Install dependencies run: npm install + - name: Run benchmarks uses: CodSpeedHQ/action@v3 with: diff --git a/examples/python-pytest-codspeed.yml b/examples/python-pytest-codspeed.yml index 6e77787..4c8200f 100644 --- a/examples/python-pytest-codspeed.yml +++ b/examples/python-pytest-codspeed.yml @@ -1,4 +1,4 @@ -name: codspeed-benchmarks +name: CodSpeed on: push: @@ -10,10 +10,12 @@ on: workflow_dispatch: jobs: - benchmarks: + codspeed: + name: Run benchmarks runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - uses: actions/setup-python@v3 with: python-version: "3.9" diff --git a/examples/rust-cargo-codspeed.yml b/examples/rust-cargo-codspeed.yml index 1044bb5..c14a077 100644 --- a/examples/rust-cargo-codspeed.yml +++ b/examples/rust-cargo-codspeed.yml @@ -1,4 +1,4 @@ -name: codspeed-benchmarks +name: CodSpeed on: push: @@ -10,7 +10,8 @@ on: workflow_dispatch: jobs: - benchmarks: + codspeed: + name: Run benchmarks runs-on: ubuntu-latest steps: - uses: actions/checkout@v4