Skip to content

Commit

Permalink
Release v0.3.22
Browse files Browse the repository at this point in the history
  • Loading branch information
epompeii committed Dec 9, 2023
1 parent e4b22ed commit e085841
Show file tree
Hide file tree
Showing 8 changed files with 51 additions and 23 deletions.
30 changes: 29 additions & 1 deletion .github/workflows/bencher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ jobs:

# Cargo Test
cargo_test:
if: (github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))) || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
name: Cargo Test
runs-on: ubuntu-latest
env:
Expand All @@ -131,6 +132,32 @@ jobs:
name: perf.jpeg
path: ./lib/bencher_plot/perf.jpeg

cargo_test_pr:
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository
name: Cargo Test PR
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-test-${{ hashFiles('**/Cargo.lock') }}
- uses: rui314/setup-mold@v1
with:
mold-version: ${{ env.MOLD_VERSION }}
- name: cargo test
run: RUST_BACKTRACE=1 cargo test -- --nocapture
- name: Upload Perf JPEG
uses: actions/upload-artifact@v3
with:
name: perf.jpeg
path: ./lib/bencher_plot/perf.jpeg

open_api_spec:
name: OpenAPI Spec
runs-on: ubuntu-latest
Expand Down Expand Up @@ -252,7 +279,7 @@ jobs:

# Cargo Benchmark
cargo_bench:
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
if: (github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))) || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
name: Cargo Bench
runs-on: ubuntu-latest
# This will fail whenever Bencher Cloud is down
Expand Down Expand Up @@ -290,6 +317,7 @@ jobs:
# Cargo Audit
cargo_audit:
if: (github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))) || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
name: Cargo Audit
runs-on: ubuntu-latest
continue-on-error: true
Expand Down
30 changes: 15 additions & 15 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["services/api", "services/cli", "lib/*", "plus/*", "xtask"]
resolver = "2"

[workspace.package]
version = "0.3.21"
version = "0.3.22"
authors = ["Everett Pompeii <[email protected]>"]
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion lib/bencher_valid/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"openapi": "3.0.3",
"info": {
"title": "Bencher API",
"version": "0.3.21"
"version": "0.3.22"
},
"paths": {
"/": {
Expand Down
2 changes: 1 addition & 1 deletion services/action/dist/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions services/console/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion services/console/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bencher-ui",
"type": "module",
"version": "0.3.21",
"version": "0.3.22",
"scripts": {
"fmt": "npx biome format --write .",
"typeshare": "typeshare ../.. --lang=typescript --output-file=./src/types/bencher.ts",
Expand Down
2 changes: 1 addition & 1 deletion services/console/src/chunks/reference/en/changelog.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Pending `v0.3.22`
## `v0.3.22`
- The Boundary Limits object is now optional for Perf query results and Reports
- Update all `POST` API endpoints with creation semantics to return a `201` status code
- Update all `PUT` and `PATCH` API endpoints with immediate update semantics to return a `200` status code
Expand Down

0 comments on commit e085841

Please sign in to comment.