Skip to content

Commit

Permalink
Release v2.0.0 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
adriencaccia committed Dec 1, 2023
1 parent de30d2b commit 4f1d7b4
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to <a href="https://semver.org/spec/v2.0.0.html">Semant

## [Unreleased]

## [2.0.0] - 2023-12-01

### Breaking changes

- `upload_url` input is now `upload-url`
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ GitHub Actions for running [CodSpeed](https://codspeed.io) in your CI.
# Usage

```yaml
- uses: CodSpeedHQ/action@v1
- uses: CodSpeedHQ/action@v2
with:
# [REQUIRED for private repositories]
# The CodSpeed upload token: can be found at https://codspeed.io/settings
# The CodSpeed upload token: can be found at https://codspeed.io/<org>/<repo>/settings
# It's strongly recommended to use a secret for this value
# If you're instrumenting a public repository, you can omit this value
token: ""
Expand All @@ -31,7 +31,7 @@ GitHub Actions for running [CodSpeed](https://codspeed.io) in your CI.

# [OPTIONAL]
# A custom upload url, only if you are using an on premise CodSpeed instance
upload_url: ""
upload-url: ""
```
# Example usage
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
run: pip install -r requirements.txt

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

- name: Run the benchmarks
uses: CodSpeedHQ/action@v1
uses: CodSpeedHQ/action@v2
with:
run: cargo codspeed run
token: ${{ secrets.CODSPEED_TOKEN }}
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
- name: Install dependencies
run: npm install
- name: Run benchmarks
uses: CodSpeedHQ/action@v1
uses: CodSpeedHQ/action@v2
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@v1
uses: CodSpeedHQ/action@v2
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@v1
uses: CodSpeedHQ/action@v2
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@v1
uses: CodSpeedHQ/action@v2
with:
run: cargo codspeed run
token: ${{ secrets.CODSPEED_TOKEN }}

0 comments on commit 4f1d7b4

Please sign in to comment.