Skip to content

Commit

Permalink
chore: update README and examples with v3
Browse files Browse the repository at this point in the history
  • Loading branch information
adriencaccia committed Jul 26, 2024
1 parent ab07afd commit 86517f4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ GitHub Actions for running [CodSpeed](https://codspeed.io) in your CI.
# Usage

```yaml
- uses: CodSpeedHQ/action@v2
- uses: CodSpeedHQ/action@v3
with:
# [REQUIRED for private repositories]
# The CodSpeed upload token: can be found at https://codspeed.io/<org>/<repo>/settings
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
run: pip install -r requirements.txt

- name: Run benchmarks
uses: CodSpeedHQ/action@v2
uses: CodSpeedHQ/action@v3
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: pytest tests/ --codspeed
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
run: cargo codspeed build

- name: Run the benchmarks
uses: CodSpeedHQ/action@v2
uses: CodSpeedHQ/action@v3
with:
run: cargo codspeed run
token: ${{ secrets.CODSPEED_TOKEN }}
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
- name: Install dependencies
run: npm install
- name: Run benchmarks
uses: CodSpeedHQ/action@v2
uses: CodSpeedHQ/action@v3
with:
run: npx vitest bench
token: ${{ secrets.CODSPEED_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion examples/nodejs-typescript-codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Install dependencies
run: npm install
- name: Run benchmarks
uses: CodSpeedHQ/action@v2
uses: CodSpeedHQ/action@v3
with:
run: node -r esbuild-register benches/bench.ts
token: ${{ secrets.CODSPEED_TOKEN }}
2 changes: 1 addition & 1 deletion examples/python-pytest-codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: pip install -r requirements.txt

- name: Run benchmarks
uses: CodSpeedHQ/action@v2
uses: CodSpeedHQ/action@v3
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: pytest tests/ --codspeed
2 changes: 1 addition & 1 deletion examples/rust-cargo-codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: cargo codspeed build

- name: Run the benchmarks
uses: CodSpeedHQ/action@v2
uses: CodSpeedHQ/action@v3
with:
run: cargo codspeed run
token: ${{ secrets.CODSPEED_TOKEN }}

0 comments on commit 86517f4

Please sign in to comment.